7dd8568e6a
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1298 a95241bf-73f2-0310-859d-f6bbb57e9c96
22 lines
306 B
C++
22 lines
306 B
C++
/*
|
|
* Copyright 2002, Marcus Overhagen. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
class Queue
|
|
{
|
|
public:
|
|
Queue();
|
|
~Queue();
|
|
|
|
status_t Terminate();
|
|
|
|
status_t AddItem(void *item);
|
|
void * RemoveItem();
|
|
|
|
private:
|
|
BList *fList;
|
|
BLocker *fLocker;
|
|
sem_id fSem;
|
|
};
|