__gnu_cxx::_Lock

Langue: en

Autres versions - même langue

Version: 323825 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

__gnu_cxx::_Lock - _Lock is a simple manual locking class which allows you to manually lock and unlock a mutex associated with the lock.

SYNOPSIS


Public Member Functions


_Lock (_Mutex *__mptr)

void _M_lock ()

void _M_unlock ()

Detailed Description

There is no automatic locking or unlocking happening without the programmer's explicit instructions. This class unlocks the mutex ONLY if it has not been locked. However, this check does not apply for locking, and wayward use may cause dead-locks.

Definition at line 135 of file bitmap_allocator.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.