Restore the "GPL licensing not permitted" in GLUT license headers.
[haiku.git] / src / libs / compat / freebsd_network / Condvar.h
blobbff1b0d7bbcd1afb726f218e8e07c18ec5474496
1 /*
2 * Copyright 2009 Colin Günther, coling@gmx.de
3 * All Rights Reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef CONDVAR_H_
6 #define CONDVAR_H_
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
13 void conditionInit(struct cv*, const char*);
14 void conditionPublish(struct cv*, const void*, const char*);
15 void conditionUnpublish(struct cv*);
16 int conditionTimedWait(struct cv*, const int);
17 void conditionWait(struct cv*);
18 void conditionNotifyOne(struct cv*);
19 int publishedConditionTimedWait(const void*, const int);
20 void publishedConditionNotifyAll(const void*);
22 #ifdef __cplusplus
24 #endif
26 #endif /* CONDVAR_H_ */