physx::shdfnd::SyncT< Alloc > Class Template Reference
#include <PsSync.h>
Inheritance diagram for physx::shdfnd::SyncT< Alloc >:
< Alloc >_map" border="0" alt="">
List of all members.
Detailed Description
template<typename Alloc = ReflectionAllocator<SyncImpl>>
class physx::shdfnd::SyncT< Alloc >
Implementation notes:
- Calling set() on an already signaled Sync does not change its state.
- Calling reset() on an already reset Sync does not change its state.
- Calling set() on a reset Sync wakes all waiting threads (potential for thread contention).
- Calling wait() on an already signaled Sync will return true immediately.
- NOTE: be careful when pulsing an event with set() followed by reset(), because a thread that is not waiting on the event will miss the signal.
Constructor & Destructor Documentation
template<typename Alloc = ReflectionAllocator<SyncImpl>>
template<typename Alloc = ReflectionAllocator<SyncImpl>>
Member Function Documentation
template<typename Alloc = ReflectionAllocator<SyncImpl>>
Reset the synchronization object
template<typename Alloc = ReflectionAllocator<SyncImpl>>
Signal the synchronization object, waking all threads waiting on it
template<typename Alloc = ReflectionAllocator<SyncImpl>>
Wait on the object for at most the given number of ms. Returns true if the object is signaled. Sync::waitForever will block forever or until the object is signaled.
Member Data Documentation
template<typename Alloc = ReflectionAllocator<SyncImpl>>
The documentation for this class was generated from the following file:
- E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/include/PsSync.h
Generated on Tue Jul 28 14:22:01 2015 for NVIDIA(R) PsFoundation Reference by
1.5.8