Changed ConditionVariable from class to struct to make it more C-friendly.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-06-22 23:49:05 +00:00
parent 6dcc2a7e00
commit 5ea5f51d84
3 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@
#include <util/OpenHashTable.h>
class ConditionVariable;
struct ConditionVariable;
struct ConditionVariableEntry
@ -42,11 +42,11 @@ private:
struct thread* fThread;
status_t fWaitStatus;
friend class ConditionVariable;
friend struct ConditionVariable;
};
class ConditionVariable : protected HashTableLink<ConditionVariable> {
struct ConditionVariable : protected HashTableLink<ConditionVariable> {
public:
void Init(const void* object,
const char* objectType);
@ -82,8 +82,8 @@ protected:
const char* fObjectType;
EntryList fEntries;
friend class ConditionVariableEntry;
friend class ConditionVariableHashDefinition;
friend struct ConditionVariableEntry;
friend struct ConditionVariableHashDefinition;
};

View File

@ -11,7 +11,7 @@
#include <util/DoublyLinkedList.h>
class ConditionVariable;
struct ConditionVariable;
struct mutex;
struct rw_lock;
struct thread;

View File

@ -9,7 +9,7 @@
#include <thread_defs.h>
class ConditionVariable;
struct ConditionVariable;
struct mutex;
struct rw_lock;