diff options
Diffstat (limited to 'src/uscxml/concurrency')
-rw-r--r-- | src/uscxml/concurrency/eventqueue/DelayedEventQueue.h | 6 | ||||
-rw-r--r-- | src/uscxml/concurrency/tinythread.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/concurrency/eventqueue/DelayedEventQueue.h b/src/uscxml/concurrency/eventqueue/DelayedEventQueue.h index 90ff819..0059bb5 100644 --- a/src/uscxml/concurrency/eventqueue/DelayedEventQueue.h +++ b/src/uscxml/concurrency/eventqueue/DelayedEventQueue.h @@ -38,9 +38,9 @@ class USCXML_API DelayedEventQueue { public: enum OpMask { - DEQ_READ = EV_READ, - DEQ_WRITE = EV_WRITE, - DEQ_SIGNAL = EV_SIGNAL + DEQ_READ = EV_READ, + DEQ_WRITE = EV_WRITE, + DEQ_SIGNAL = EV_SIGNAL }; struct callbackData { diff --git a/src/uscxml/concurrency/tinythread.h b/src/uscxml/concurrency/tinythread.h index a47b46a..9d211f4 100644 --- a/src/uscxml/concurrency/tinythread.h +++ b/src/uscxml/concurrency/tinythread.h @@ -435,7 +435,7 @@ public: EnterCriticalSection(&mWaitersCountLock); ++ mWaitersCount; LeaveCriticalSection(&mWaitersCountLock); - + // Release the mutex while waiting for the condition (will decrease // the number of waiters when done)... aMutex.unlock(); @@ -444,7 +444,7 @@ public: #else struct timeval tv; gettimeofday(&tv, NULL); - + struct timespec ts; ts.tv_sec = tv.tv_sec + (ms / 1000); ts.tv_nsec = (tv.tv_usec * 1000); // convert tv microseconds to nanoseconds |