1/*
2	$Id: ConcurrencyTest1.h 383 2002-07-22 09:28:00Z tylerdauwalder $
3
4	This file defines a classes for performing one test of BMessageQueue
5	functionality.
6
7	*/
8
9
10#ifndef ConcurrencyTest1_H
11#define ConcurrencyTest1_H
12
13
14#include "MessageQueueTestCase.h"
15#include "../common.h"
16#include <Locker.h>
17
18
19 class ConcurrencyTest1 :
20	public MessageQueueTestCase {
21
22private:
23
24	bool useList;
25	BLocker thread2Lock;
26	BLocker thread3Lock;
27
28protected:
29
30public:
31	static Test *suite(void);
32	void setUp(void);
33	void TestThread1(void);
34	void TestThread2(void);
35	void TestThread3(void);
36	ConcurrencyTest1(std::string, bool);
37	virtual ~ConcurrencyTest1();
38	};
39
40#endif
41
42
43
44
45
46
47