VirtualBox

Ignore:
Timestamp:
Jun 7, 2009 9:11:41 AM (16 years ago)
Author:
vboxsync
Message:

IPRT: some dbgmod bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/semaphore-r0drv-darwin.cpp

    r19922 r20355  
    187187        ASMAtomicIncU32(&pEventInt->cWaking);
    188188        thread_wakeup_prim((event_t)pEventInt, TRUE /* one thread */, THREAD_AWAKENED);
    189         /** @todo this isn't safe. a scheduling interrupt on the other cpu while we're in here
     189                /** @todo this isn't safe. a scheduling interrupt on the other cpu while we're in here
    190190         * 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. */
    192193    }
    193194    else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette