void CmiNodeBarrier()
Provide barrier synchronization at the node level, i.e. all the
processors belonging to the node participate in this barrier.
typedef McDependentType CmiNodeLock
This is the type for all the node-level locks in CONVERSE.
CmiNodeLock CmiCreateLock(void)
Creates, initializes and returns a new lock. Initially the
lock is unlocked.
void CmiLock(CmiNodeLock lock)
Locks lock. If the lock has been locked by other
processor, waits for lock to be unlocked.
void CmiUnlock(CmiNodeLock lock)
Unlocks lock. Processors waiting for the lock can
then compete for acquiring lock.
int CmiTryLock(CmiNodeLock lock)
Tries to lock lock. If it succeeds in locking, it returns
0. If any other processor has already acquired the lock, it returns 1.
voi CmiDestroyLock(CmiNodeLock lock)
Frees any memory associated with lock. It is an error to
perform any operations with lock after a call to this function.
November 23, 2009
Converse Homepage
Charm Homepage