1/*
2 * Copyright 2011, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _LOOPER_H
6#define _LOOPER_H
7
8
9#include <OS.h>
10
11
12// Port (Message Queue) Capacity
13#define B_LOOPER_PORT_DEFAULT_CAPACITY  200
14
15
16class BLooper {
17public:
18								BLooper(const char* name = NULL,
19                                	int32 priority = B_NORMAL_PRIORITY,
20	                                int32 port_capacity
21    	                                = B_LOOPER_PORT_DEFAULT_CAPACITY);
22
23			bool				Lock()		{ return true; }
24			void				Unlock()	{}
25};
26
27
28#endif	// _LOOPER_H
29