The non-benaphore of the Semaphore class just didn't work correctly...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1887 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,9 +22,11 @@ class Semaphore {
|
|||||||
public:
|
public:
|
||||||
Semaphore(const char *name = "bfs sem")
|
Semaphore(const char *name = "bfs sem")
|
||||||
:
|
:
|
||||||
fSemaphore(create_sem(0, name))
|
|
||||||
#ifdef USE_BENAPHORE
|
#ifdef USE_BENAPHORE
|
||||||
, fCount(1)
|
fSemaphore(create_sem(0, name)),
|
||||||
|
fCount(1)
|
||||||
|
#else
|
||||||
|
fSemaphore(create_sem(1, name))
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#ifndef USER
|
#ifndef USER
|
||||||
|
|||||||
Reference in New Issue
Block a user