fltk::RecursiveMutex Class Reference

Inherits fltk::Mutex.

List of all members.

Public Member Functions

void lock ()
bool trylock ()
void unlock ()


Detailed Description

"Mutual exclusion lock" to protect data in multithreaded programs. This is a "recursive lock". Calling lock() will wait until nobody else has the lock and then will take it. Calling lock() multiple times by the same thread is allowed, and unlock() must then be called the same number of times before another thread can get the lock.

Wed Jun 17 08:58:18 2009. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.