xref: /haiku/src/tests/kits/support/blocker/ConcurrencyTest1.h (revision 51978af14a173e7fae0563b562be5603bc652aeb)
1 /*
2 	$Id: ConcurrencyTest1.h,v 1.2 2002/07/18 05:32:00 tylerdauwalder Exp $
3 
4 	This file defines a class for performing one test of BLocker
5 	functionality.
6 
7 	*/
8 
9 
10 #ifndef ConcurrencyTest1_H
11 #define ConcurrencyTest1_H
12 
13 
14 #include "LockerTestCase.h"
15 
16 
17 class ConcurrencyTest1 :
18 	public LockerTestCase {
19 
20 private:
21 	bool lockTestValue;
22 
23 	bool AcquireLock(int, bool);
24 
25 public:
26 	ConcurrencyTest1(std::string, bool);
27 	virtual ~ConcurrencyTest1();
28 	void setUp(void);
29 	void TestThread(void);
30 	static Test *suite(void);
31 };
32 
33 #endif
34 
35 
36 
37