HomeSort by relevance Sort by last modified time
    Searched defs:Semaphore (Results 1 - 25 of 48) sorted by null

1 2

  /external/deqp/framework/delibs/decpp/
deSemaphore.cpp 33 * \brief Construct semaphore.
34 * \param initialValue Initial value for semaphore. Must be 0 or greater.
35 * \param flags Semaphore flags (reserved for further use).
37 Semaphore::Semaphore (int initialValue, deUint32 flags)
48 Semaphore::~Semaphore (void)
deSemaphore.hpp 33 * \brief Semaphore
35 * Semaphore provides standard semaphore functionality.
37 * Semaphore is thread-safe counter that can be used to control access
42 class Semaphore
45 Semaphore (int initialValue, deUint32 flags = 0);
46 ~Semaphore (void);
53 Semaphore (const Semaphore& other); // Not allowed!
54 Semaphore& operator= (const Semaphore& other); // Not allowed
    [all...]
  /cts/suite/audio_quality/lib/include/
Semaphore.h 21 #include <semaphore.h>
26 * Simple semaphore interface for synchronization between client and server
28 class Semaphore {
30 Semaphore(int count = 0);
32 ~Semaphore();
34 /// down semaphore if it is already positive.
  /hardware/ti/omap4-aah/libtiutils/
Semaphore.h 20 #include <semaphore.h>
32 class Semaphore
36 Semaphore();
37 ~Semaphore();
39 //Release semaphore
42 ///Create the semaphore with initial count value
51 ///Current semaphore count
Semaphore.cpp 19 #include "Semaphore.h"
28 @brief Constructor for the semaphore class
33 Semaphore::Semaphore()
35 ///Initialize the semaphore to NULL
40 @brief Destructor of the semaphore class
46 Semaphore::~Semaphore()
52 @brief: Releases semaphore
56 @return One of the android error codes based on semaphore de-initializatio
    [all...]
  /hardware/ti/omap4xxx/libtiutils/
Semaphore.h 20 #include <semaphore.h>
29 class Semaphore
33 Semaphore();
34 ~Semaphore();
36 //Release semaphore
39 ///Create the semaphore with initial count value
48 ///Current semaphore count
Semaphore.cpp 19 #include "Semaphore.h"
27 @brief Constructor for the semaphore class
32 Semaphore::Semaphore()
34 ///Initialize the semaphore to NULL
39 @brief Destructor of the semaphore class
45 Semaphore::~Semaphore()
51 @brief: Releases semaphore
55 @return One of the android error codes based on semaphore de-initializatio
    [all...]
  /cts/suite/audio_quality/lib/src/
Semaphore.cpp 17 #include "Semaphore.h"
20 Semaphore::Semaphore(int count)
27 Semaphore::~Semaphore()
32 void Semaphore::tryWait()
37 bool Semaphore::wait()
46 bool Semaphore::timedWait(int timeInMSec)
67 //LOGV("Semaphore::timedWait now %d-%d until %d-%d for %d msecs",
76 void Semaphore::post(
    [all...]
  /external/chromium_org/v8/src/platform/
semaphore.cc 5 #include "src/platform/semaphore.h"
22 Semaphore::Semaphore(int count) {
30 Semaphore::~Semaphore() {
37 void Semaphore::Signal() {
44 void Semaphore::Wait() {
47 if (result == KERN_SUCCESS) return; // Semaphore was signalled.
53 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
59 // Return immediately if semaphore was not signalled
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 12 * A counting semaphore. Conceptually, a semaphore maintains a set of
16 * However, no actual permit objects are used; the {@code Semaphore} just
21 * a class that uses a semaphore to control access to a pool of items:
25 * private final Semaphore available = new Semaphore(MAX_AVAILABLE, true);
67 * the semaphore, guaranteeing that an item is available for use. When
69 * pool and a permit is returned to the semaphore, allowing another
72 * from being returned to the pool. The semaphore encapsulates the
77 * <p>A semaphore initialized to one, and which is used such that i
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 50 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
192 def Semaphore(value=1):
194 Returns a semaphore object
196 from multiprocessing.synchronize import Semaphore
197 return Semaphore(value)
201 Returns a bounded semaphore object
synchronize.py 36 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
65 RECURSIVE_MUTEX, SEMAPHORE = range(2)
105 # Semaphore
108 class Semaphore(SemLock):
111 SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)
121 return '<Semaphore(value=%s)>' % value
124 # Bounded semaphore
127 class BoundedSemaphore(Semaphore):
130 SemLock.__init__(self, SEMAPHORE, value, value)
147 SemLock.__init__(self, SEMAPHORE, 1, 1
    [all...]
queues.py 48 from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
291 # eventually the counter's semaphore may overflow causing Bad Things
299 self._unfinished_tasks = Semaphore(0)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py 37 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
53 from threading import Lock, RLock, Semaphore, BoundedSemaphore
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 50 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
192 def Semaphore(value=1):
194 Returns a semaphore object
196 from multiprocessing.synchronize import Semaphore
197 return Semaphore(value)
201 Returns a bounded semaphore object
synchronize.py 36 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
65 RECURSIVE_MUTEX, SEMAPHORE = range(2)
105 # Semaphore
108 class Semaphore(SemLock):
111 SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX)
121 return '<Semaphore(value=%s)>' % value
124 # Bounded semaphore
127 class BoundedSemaphore(Semaphore):
130 SemLock.__init__(self, SEMAPHORE, value, value)
147 SemLock.__init__(self, SEMAPHORE, 1, 1
    [all...]
queues.py 48 from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
291 # eventually the counter's semaphore may overflow causing Bad Things
299 self._unfinished_tasks = Semaphore(0)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py 37 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
53 from threading import Lock, RLock, Semaphore, BoundedSemaphore
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
threading.py 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread',
411 def Semaphore(*args, **kwargs):
412 """A factory function that returns a new semaphore.
430 # After Tim Peters' semaphore class, but not quite the same (no maximum)
434 raise ValueError("semaphore initial value must be >= 0")
440 """Acquire a semaphore, decrementing the internal counter by one.
479 """Release a semaphore, incrementing the internal counter by one.
497 """A factory function that returns a new bounded semaphore.
499 A bounded semaphore checks to make sure its current value doesn't exceed its
503 If the semaphore is released too many times it's a sign of a bug. If no
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
threading.py 31 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread',
411 def Semaphore(*args, **kwargs):
412 """A factory function that returns a new semaphore.
430 # After Tim Peters' semaphore class, but not quite the same (no maximum)
434 raise ValueError("semaphore initial value must be >= 0")
440 """Acquire a semaphore, decrementing the internal counter by one.
479 """Release a semaphore, incrementing the internal counter by one.
497 """A factory function that returns a new bounded semaphore.
499 A bounded semaphore checks to make sure its current value doesn't exceed its
503 If the semaphore is released too many times it's a sign of a bug. If no
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar 
org.eclipse.osgi_3.6.1.R36x_v20100806.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar 
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ks.h 235 HANDLE Semaphore;
246 PVOID Semaphore;
    [all...]

Completed in 717 milliseconds

1 2