1/*
2	$Id: ConcurrencyTest2.h 301 2002-07-18 05:32:00Z tylerdauwalder $
3
4	This file defines a classes for performing one test of BLocker
5	functionality.
6
7	*/
8
9
10#ifndef ConcurrencyTest2_H
11#define ConcurrencyTest2_H
12
13
14#include "LockerTestCase.h"
15
16
17class ConcurrencyTest2 : public LockerTestCase {
18private:
19	bool lockTestValue;
20
21	void TestThread(void);
22	bool AcquireLock(int, bool);
23	void LockingLoop(void);
24
25public:
26	ConcurrencyTest2(std::string, bool);
27	virtual ~ConcurrencyTest2();
28	void setUp(void);
29	void AcquireThread(void);
30	void TimeoutThread(void);
31	static CppUnit::Test *suite(void);
32};
33
34
35#endif
36