s The Nana Programmer's Guide
Nana C++ Library  
An open-source C++ framework project
The Nana Programmer's Guide
Mutexs

Description

Nana C++ Library provides some mutex classes for synchronizing.

Model of

None

Public base classes

None

Members

class recursive_mutex Relockable
class mutex Unrelockable
class timed_mutex Unrelockable

File

None

Notes

1, Explanation:
    Relockable, the thread owns a lock can specify the same lock in repeated lock() calls without blocking its execution, this mechanism prevents a thread from deadlocking itself while waiting for a lock that it already owns.
    Unrelockable, opposite to relockable. The thread owns a lock and recalls lock() to block its execution and waits for a signal that other thread calls unlock().

See also

None.


Move to The Nana Programmer's Guide Main Page