vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessagequeue / ConcurrencyTest2.h
blob48d20e6110d44ad4335347411be7a66bb3639cd7
1 /*
2 $Id: ConcurrencyTest2.h 383 2002-07-22 09:28:00Z tylerdauwalder $
4 This file defines a classes for performing one test of BMessageQueue
5 functionality.
7 */
10 #ifndef _ConcurrencyTest2_H
11 #define _ConcurrencyTest2_H
14 #include "MessageQueueTestCase.h"
15 #include "../common.h"
18 class ConcurrencyTest2 :
19 public MessageQueueTestCase {
21 private:
23 bool unlockTest;
24 bool isLocked;
25 BMessage *removeMessage;
27 public:
28 static Test *suite(void);
29 void setUp(void);
30 void TestThread1(void);
31 void TestThread2(void);
32 void TestThread3(void);
33 void TestThread4(void);
34 void TestThread5(void);
35 ConcurrencyTest2(std::string, bool);
36 virtual ~ConcurrencyTest2();
39 #endif