~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: tdavies
  • Date: 2010-10-05 03:25:08 UTC
  • mto: (1816.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1817.
  • Revision ID: tdavies@molly-20101005032508-pd1cg5nmxziov9wv
change in file: ../drizzled/base.h. Converted C structs key_range and KEY_MULTI_RANGE to C++ classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 *
19
19
 * Original author: Paul McCullagh (H&G2JCtL)
20
20
 * Continued development: Barry Leslie
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 {