PPL Logo

CkSema Class Reference
[CkFutures]

Collaboration diagram for CkSema:

Collaboration graph
[legend]

Public Member Functions

void * wait (void)
void waitN (int n, void *marray[])
void signal (void *msg)

Private Attributes

CkQ< void * > msgs
CkQ< CthThreadwaiters

Detailed Description

Definition at line 37 of file ckfutures.C.


Member Function Documentation

void* CkSema::wait ( void   )  [inline]

Definition at line 42 of file ckfutures.C.

References CthSelf(), CthSuspend(), CkQ< T >::deq(), msgs, and waiters.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void CkSema::signal ( void *  msg  )  [inline]

Definition at line 63 of file ckfutures.C.

References CthAwaken(), CkQ< T >::enq(), msgs, and waiters.

Here is the call graph for this function:


Field Documentation

CkQ<void*> CkSema::msgs [private]

Definition at line 39 of file ckfutures.C.

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

Definition at line 40 of file ckfutures.C.

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


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

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