PPL Logo

CkSemaPool Class Reference
[CkFutures]

Collaboration diagram for CkSemaPool:

Collaboration graph
[legend]

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< intfreelist

Detailed Description

Definition at line 72 of file ckfutures.C.


Member Function Documentation

int CkSemaPool::getNew ( void   )  [inline]

Definition at line 77 of file ckfutures.C.

References CkQ< T >::deq(), freelist, idx, CkQ< T >::isEmpty(), and pool.

Here is the call graph for this function:

void CkSemaPool::release ( int  idx  )  [inline]

Definition at line 88 of file ckfutures.C.

References CkQ< T >::enq(), freelist, and pool.

Here is the call graph for this function:

void CkSemaPool::_check ( int  idx  )  [inline]

Definition at line 93 of file ckfutures.C.

References pool.

Referenced by signal(), wait(), and waitN().

Here is the caller graph for this function:

void* CkSemaPool::wait ( int  idx  )  [inline]

Definition at line 100 of file ckfutures.C.

References _check(), and pool.

Here is the call graph for this function:

void CkSemaPool::waitN ( int  idx,
int  n,
void *  marray[] 
) [inline]

Definition at line 104 of file ckfutures.C.

References _check(), and pool.

Here is the call graph for this function:

void CkSemaPool::signal ( int  idx,
void *  msg 
) [inline]

Definition at line 108 of file ckfutures.C.

References _check(), and pool.

Here is the call graph for this function:


Field Documentation

std::vector<CkSema*> CkSemaPool::pool [private]

Definition at line 74 of file ckfutures.C.

Referenced by _check(), getNew(), release(), signal(), wait(), and waitN().

Definition at line 75 of file ckfutures.C.

Referenced by getNew(), and release().


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:21:36 2020 for Charm++ by  doxygen 1.5.5