Public Member Functions | |
void * | wait (void) |
void | waitN (int n, void *marray[]) |
void | signal (void *msg) |
Private Attributes | |
CkQ< void * > | msgs |
CkQ< CthThread > | waiters |
Definition at line 37 of file ckfutures.C.
void* CkSema::wait | ( | void | ) | [inline] |
Definition at line 42 of file ckfutures.C.
References CthSelf(), CthSuspend(), CkQ< T >::deq(), msgs, and waiters.
void CkSema::waitN | ( | int | n, | |
void * | marray[] | |||
) | [inline] |
Definition at line 51 of file ckfutures.C.
References CthSelf(), CthSuspend(), CkQ< T >::deq(), CkQ< T >::length(), msgs, and waiters.
void CkSema::signal | ( | void * | msg | ) | [inline] |
Definition at line 63 of file ckfutures.C.
References CthAwaken(), CkQ< T >::enq(), msgs, and waiters.
CkQ<void*> CkSema::msgs [private] |
CkQ<CthThread> CkSema::waiters [private] |