vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / support / blocker / ConcurrencyTest1.h
blob24ee7870d28718a69871fd956600858e6147b8b0
1 /*
2 $Id: ConcurrencyTest1.h 301 2002-07-18 05:32:00Z tylerdauwalder $
4 This file defines a class for performing one test of BLocker
5 functionality.
7 */
10 #ifndef ConcurrencyTest1_H
11 #define ConcurrencyTest1_H
14 #include "LockerTestCase.h"
17 class ConcurrencyTest1 :
18 public LockerTestCase {
20 private:
21 bool lockTestValue;
23 bool AcquireLock(int, bool);
25 public:
26 ConcurrencyTest1(std::string, bool);
27 virtual ~ConcurrencyTest1();
28 void setUp(void);
29 void TestThread(void);
30 static Test *suite(void);
33 #endif