Ignore:
Timestamp:
Jul 3, 2009, 8:52:01 AM (15 years ago)
Author:
Christoph Mayer
Message:

locking für enter method neu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/SystemQueue.cpp

    r4701 r4702  
    113113void SystemQueue::enterMethod(){
    114114        // TODO: omnet case and delay scheduler
    115         directScheduler.queueMutex.lock();
     115        directScheduler.queueMutex.enter();
    116116}
    117117
    118118void SystemQueue::leaveMethod(){
    119119        // TODO: omnet case and delay scheduler
    120         directScheduler.queueMutex.unlock();
     120        directScheduler.queueMutex.leave();
    121121}
    122122
     
    224224}
    225225
     226void SystemQueue::QueueThread::enter(){
     227        queueMutex.lock();
     228}
     229
     230void SystemQueue::QueueThread::leave(){
     231        queueMutex.leave();
     232}
     233
     234
    226235//***************************************************************
    227236
Note: See TracChangeset for help on using the changeset viewer.