Changeset 20355 in vbox for trunk/src/VBox/Runtime/r0drv/darwin/semaphore-r0drv-darwin.cpp
- Timestamp:
- Jun 7, 2009 9:11:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/darwin/semaphore-r0drv-darwin.cpp
r19922 r20355 187 187 ASMAtomicIncU32(&pEventInt->cWaking); 188 188 thread_wakeup_prim((event_t)pEventInt, TRUE /* one thread */, THREAD_AWAKENED); 189 189 /** @todo this isn't safe. a scheduling interrupt on the other cpu while we're in here 190 190 * could cause the thread to be timed out before we manage to wake it up and the event 191 * ends up in the wrong state. ditto for posix signals. */ 191 * ends up in the wrong state. ditto for posix signals. 192 * Update: check the return code; it will return KERN_NOT_WAITING if no one is around. */ 192 193 } 193 194 else
Note:
See TracChangeset
for help on using the changeset viewer.