Public Member Functions | |
int | getNew (void) |
void | release (int idx) |
void | _check (int idx) |
void * | wait (int idx) |
void | waitN (int idx, int n, void *marray[]) |
void | signal (int idx, void *msg) |
Private Attributes | |
std::vector< CkSema * > | pool |
CkQ< int > | freelist |
Definition at line 72 of file ckfutures.C.
int CkSemaPool::getNew | ( | void | ) | [inline] |
Definition at line 77 of file ckfutures.C.
References CkQ< T >::deq(), freelist, idx, CkQ< T >::isEmpty(), and pool.
void CkSemaPool::release | ( | int | idx | ) | [inline] |
Definition at line 88 of file ckfutures.C.
References CkQ< T >::enq(), freelist, and pool.
void CkSemaPool::_check | ( | int | idx | ) | [inline] |
void* CkSemaPool::wait | ( | int | idx | ) | [inline] |
Definition at line 100 of file ckfutures.C.
References _check(), and pool.
Definition at line 104 of file ckfutures.C.
References _check(), and pool.
void CkSemaPool::signal | ( | int | idx, | |
void * | msg | |||
) | [inline] |
Definition at line 108 of file ckfutures.C.
References _check(), and pool.
std::vector<CkSema*> CkSemaPool::pool [private] |
CkQ<int> CkSemaPool::freelist [private] |