Poster of Linux kernelThe best gift for a Linux geek
__gnu_cxx::_Lock

__gnu_cxx::_Lock

Section: C Library Functions (3) Updated: 27 Aug 2009
Local index Up
 

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.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Author

This document was created by man2html, using the manual pages.
Time: 22:37:27 GMT, April 16, 2011