#include <fast_mutex.h>
Definition at line 257 of file fast_mutex.h.
Public Member Functions | |
| fast_mutex () | |
| void | lock () |
| void | unlock () |
| ~fast_mutex () | |
Private Member Functions | |
| fast_mutex (const fast_mutex &) | |
| fast_mutex & | operator= (const fast_mutex &) |
| fast_mutex::fast_mutex | ( | ) | [inline] |
| fast_mutex::~fast_mutex | ( | ) | [inline] |
Definition at line 269 of file fast_mutex.h.
References _FAST_MUTEX_ASSERT.
00270 { 00271 _FAST_MUTEX_ASSERT(!_M_locked, "~fast_mutex(): still locked"); 00272 }
| fast_mutex::fast_mutex | ( | const fast_mutex & | ) | [private] |
| void fast_mutex::lock | ( | ) | [inline] |
Definition at line 273 of file fast_mutex.h.
References _FAST_MUTEX_ASSERT.
Referenced by fast_mutex_autolock::fast_mutex_autolock().
00274 { 00275 # ifdef _DEBUG 00276 _FAST_MUTEX_ASSERT(!_M_locked, "lock(): already locked"); 00277 _M_locked = true; 00278 # endif 00279 }
| fast_mutex& fast_mutex::operator= | ( | const fast_mutex & | ) | [private] |
| void fast_mutex::unlock | ( | ) | [inline] |
Definition at line 280 of file fast_mutex.h.
References _FAST_MUTEX_ASSERT.
Referenced by fast_mutex_autolock::~fast_mutex_autolock().
00281 { 00282 # ifdef _DEBUG 00283 _FAST_MUTEX_ASSERT(_M_locked, "unlock(): not locked"); 00284 _M_locked = false; 00285 # endif 00286 }
1.5.6