#include <semaphore.h>
|
enum | { MAXIMUM_COUNT = 0x7fff
} |
|
typedef native_semaphore_handle_type | native_handle_type |
|
|
| semaphore (unsigned int initialCount=0, unsigned int maximumCount=MAXIMUM_COUNT) |
|
| semaphore (const char *name, unsigned int initialCount=0, unsigned int maximumCount=MAXIMUM_COUNT) |
|
void | acquire () |
|
template<class Rep , class Period > |
bool | try_acquire_for (const chrono::duration< Rep, Period > &rel_time) |
|
template<class Clock , class Duration > |
bool | try_acquire_until (const chrono::time_point< Clock, Duration > &abs_time) |
|
void | release (unsigned int releaseCount=1) |
|
native_handle_type | native_handle () |
|
template<class Rep , class Period > |
AZ_FORCE_INLINE bool | try_acquire_for (const chrono::duration< Rep, Period > &rel_time) |
|
template<class Clock , class Duration > |
AZ_FORCE_INLINE bool | try_acquire_until (const chrono::time_point< Clock, Duration > &abs_time) |
|
Semaphore synchronization primitive. This is not part of the C++0x standard.
The documentation for this class was generated from the following files:
- Code/Framework/AzCore/AzCore/std/parallel/semaphore.h
- Code/Framework/AzCore/Platform/Common/Apple/AzCore/std/parallel/internal/semaphore_Apple.h
- Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/std/parallel/internal/semaphore_UnixLike.h
- Code/Framework/AzCore/Platform/Common/WinAPI/AzCore/std/parallel/internal/semaphore_WinAPI.h