Searched refs:Semaphore (Results 1 - 25 of 25) sorted by relevance

/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmthread/
H A DIlmThreadSemaphore.cpp37 // class Semaphore -- dummy implementation for
50 Semaphore::Semaphore (unsigned int value) {} function in class:IlmThread::Semaphore
51 Semaphore::~Semaphore () {}
52 void Semaphore::wait () {}
53 bool Semaphore::tryWait () {return true;}
54 void Semaphore::post () {}
55 int Semaphore::value () const {return 0;}
H A DIlmThreadSemaphorePosix.cpp37 // class Semaphore -- implementation for platforms
53 Semaphore::Semaphore (unsigned int value) function in class:IlmThread::Semaphore
60 Semaphore::~Semaphore ()
68 Semaphore::wait ()
75 Semaphore::tryWait ()
82 Semaphore::post ()
90 Semaphore::value () const
H A DIlmThreadSemaphore.h40 // class Semaphore -- a wrapper class for
62 class Semaphore class in namespace:IlmThread
66 Semaphore (unsigned int value = 0);
67 virtual ~Semaphore();
103 void operator = (const Semaphore& s); // not implemented
104 Semaphore (const Semaphore& s); // not implemented
H A DIlmThreadSemaphorePosixCompat.cpp37 // class Semaphore -- implementation for for platforms that do
54 Semaphore::Semaphore (unsigned int value) function in class:IlmThread::Semaphore
68 Semaphore::~Semaphore ()
78 Semaphore::wait ()
104 Semaphore::tryWait ()
123 Semaphore::post ()
144 Semaphore::value () const
H A DIlmThreadSemaphoreWin32.cpp37 // class Semaphore -- implementation for Windows
86 Semaphore::Semaphore (unsigned int value) function in class:IlmThread::Semaphore
96 Semaphore::~Semaphore()
104 Semaphore::wait()
115 Semaphore::tryWait()
122 Semaphore::post()
133 Semaphore::value() const
H A DIlmThreadPool.cpp77 Semaphore isEmpty; // used to signal that the taskgroup is empty
91 Semaphore taskSemaphore; // threads wait on this for ready tasks
97 Semaphore threadSemaphore; // signaled when a thread starts executing
/haiku-fatelf/src/add-ons/kernel/file_systems/cdda/
H A DLock.h13 // if defined, benaphores are used for the Semaphore class
15 class Semaphore { class
17 Semaphore(const char *name) function in class:Semaphore
28 ~Semaphore()
70 // a convenience class to lock a Semaphore object
74 Locker(Semaphore &lock)
92 Semaphore &fLock;
H A Dkernel_interface.cpp97 Semaphore& Lock();
124 Semaphore fLock;
774 Semaphore&
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dsemaphore.cpp6 Semaphore::Semaphore(int semKey, int numSems, int val) function in class:Semaphore
21 int Semaphore::clear_sem()
36 printf("Semaphore removed.\n");
40 int Semaphore::create(int count)
61 int Semaphore::get_semid()
73 int Semaphore::decrement_and_wait(int nr_sem)
97 int Semaphore::get_mutex()
113 int Semaphore::put_mutex()
H A Dsemaphore.h18 class Semaphore class
26 Semaphore(int semKey, int numSems = 1, int val = 0);
H A Dbon_io.h5 class Semaphore;
20 int seek_test(bool quiet, Semaphore &s);
H A Dbon_io.cpp81 int CFileOp::seek_test(bool quiet, Semaphore &s)
H A Dbonnie++.cpp61 Semaphore sem;
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/
H A Dexsystem.c130 * PARAMETERS: Semaphore - Semaphore to wait on
143 ACPI_SEMAPHORE Semaphore,
152 Status = AcpiOsWaitSemaphore (Semaphore, 1, ACPI_DO_NOT_WAIT);
164 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout);
142 AcpiExSystemWaitSemaphore( ACPI_SEMAPHORE Semaphore, UINT16 Timeout) argument
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DLock.h20 // if defined, benaphores are used for the Semaphore/RecursiveLock classes
23 // the ReadWriteLock class uses a second Semaphore to
29 class Semaphore { class
31 Semaphore(const char *name) function in class:Semaphore
45 ~Semaphore()
87 // a convenience class to lock a Semaphore object
91 Locker(Semaphore &lock)
110 Semaphore &fLock;
344 Semaphore fWriteLock;
H A DBlockAllocator.h57 Semaphore fLock;
/haiku-fatelf/src/servers/app/drawing/
H A DOverlay.h48 sem_id Semaphore() const function in class:Overlay
/haiku-fatelf/src/system/kernel/posix/
H A Dxsi_semaphore.cpp479 XsiSemaphore* Semaphore(int nth) const function in class:XsiSemaphoreSet
707 semaphoreSet->Semaphore(i)->Revert(current->undo_values[i]);
865 XsiSemaphore *semaphore = semaphoreSet->Semaphore(semaphoreNumber);
941 semaphore = semaphoreSet->Semaphore(i);
962 semaphore = semaphoreSet->Semaphore(i);
1125 semaphore = semaphoreSet->Semaphore(semaphoreNumber);
1160 semaphore = semaphoreSet->Semaphore(semaphoreNumber);
1218 semaphore = semaphoreSet->Semaphore(semaphoreNumber);
1228 semaphore = semaphoreSet->Semaphore(semaphoreNumber);
1249 XsiSemaphore *semaphore = semaphoreSet->Semaphore(semaphoreNumbe
[all...]
/haiku-fatelf/src/add-ons/kernel/generic/tty/
H A Dtty_private.h29 class Semaphore;
/haiku-fatelf/src/add-ons/kernel/drivers/tty/
H A Dtty_private.h32 class Semaphore;
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfScanLineInputFile.cpp73 using IlmThread::Semaphore;
150 Semaphore _sem;
H A DImfOutputFile.cpp75 using IlmThread::Semaphore;
144 Semaphore _sem;
H A DImfTiledInputFile.cpp75 using IlmThread::Semaphore;
154 Semaphore _sem;
H A DImfTiledOutputFile.cpp81 using IlmThread::Semaphore;
207 Semaphore _sem;
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dacinterp.h459 ACPI_SEMAPHORE Semaphore,

Completed in 301 milliseconds