class GradSoft::Mutex

Mutual Exclusive Lock (mutex)

Public Methods

[more] Mutex() throw(ThreadingExceptions::Failure)
[more] ~Mutex() throw(ThreadingExceptions::Failure)
[more]void lock(void) throw(ThreadingExceptions::Failure)
lock mutex
[more]bool try_lock(void) throw()
try lock mutex
[more]void unlock(void) throw(ThreadingExceptions::Failure)
unlock mutex


Documentation

Mutual Exclusive Lock (mutex)
o Mutex() throw(ThreadingExceptions::Failure)

o ~Mutex() throw(ThreadingExceptions::Failure)

ovoid lock(void) throw(ThreadingExceptions::Failure)
lock mutex

obool try_lock(void) throw()
try lock mutex
Returns:
true, if mutex is succesfully locked, false otherwise

ovoid unlock(void) throw(ThreadingExceptions::Failure)
unlock mutex
Preconditions:
mutex must be locked


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.