MutexLock Class Reference

Public Member Functions

 MutexLock (pthread_mutex_t *mp)
 

Detailed Description

Definition at line 34 of file EventSvc.C.

Constructor & Destructor Documentation

◆ MutexLock()

MutexLock::MutexLock ( pthread_mutex_t *  mp)
inline

Definition at line 38 of file EventSvc.C.

38 : mutex(mp) {
39 if ( pthread_mutex_lock (mutex) != 0 ) {
40 MSG_Base_Tmutexlock_LOG ("event mutex");
41 }
42 }

◆ ~MutexLock()

MutexLock::~MutexLock ( )
inline

Definition at line 44 of file EventSvc.C.

44 {
45 if ( pthread_mutex_unlock (mutex) != 0 ) {
46 MSG_Base_Tunlock_LOG ("event mutex");
47 }
48 }

The documentation for this class was generated from the following file:

All rights reserved © 2002 - 2024 Isode Ltd.