~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/cslib/CSMutex.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2010-10-18 21:21:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1871.
  • Revision ID: barry.leslie@primebase.com-20101018212120-dqukgtkwhb1imt1o
Merged changes from lp:pbms. These changes should remove any danger
of longjmp() clobbering local variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#include "CSDefs.h"
35
35
 
 
36
class CSThread;
 
37
 
36
38
class CSMutex {
37
39
public:
38
40
        CSMutex();
46
48
 
47
49
private:
48
50
        pthread_mutex_t iMutex;
 
51
#ifdef DEBUG
 
52
        CSThread                *iLocker;
 
53
public:
 
54
        bool                    trace;
 
55
#endif
49
56
};
50
57
 
51
58
class CSLock : public CSMutex {