~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-15 05:30:39 UTC
  • mfrom: (1843.8.7 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101015053039-ebmv3hnn1yaq4wqy
Merge in refactoring on table (broken it up by type, this will allow me to
insert the new locking).

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
 
 
38
36
class CSMutex {
39
37
public:
40
38
        CSMutex();
48
46
 
49
47
private:
50
48
        pthread_mutex_t iMutex;
51
 
#ifdef DEBUG
52
 
        CSThread                *iLocker;
53
 
public:
54
 
        bool                    trace;
55
 
#endif
56
49
};
57
50
 
58
51
class CSLock : public CSMutex {