OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Semaphore
(Results
1 - 9
of
9
) sorted by null
/development/simulator/app/
Semaphore.cpp
6
#include "
Semaphore
.h"
9
# include <
semaphore
.h>
32
Semaphore
::
Semaphore
(void)
36
Semaphore
::~
Semaphore
(void)
39
bool
Semaphore
::create(int key, int initialValue, bool deleteExisting)
44
bool
Semaphore
::attach(int key)
49
void
Semaphore
::acquire(void)
52
void
Semaphore
::release(void
[
all
...]
Semaphore.h
4
// Inter-process
semaphore
.
19
* Platform-independent
semaphore
class.
21
* Each object holds a single
semaphore
.
24
*
semaphore
(following POSIX semantics). See the comments in shmem.h.
26
class
Semaphore
{
28
Semaphore
(void);
29
virtual ~
Semaphore
(void);
32
* Create a new
semaphore
, with the specified initial value. The
38
* Attach to an existing
semaphore
.
43
* Acquire or release the
semaphore
[
all
...]
/libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java
14
* A counting
semaphore
. Conceptually, a
semaphore
maintains a set of
18
* However, no actual permit objects are used; the {@code
Semaphore
} just
23
* a class that uses a
semaphore
to control access to a pool of items:
27
* private final
Semaphore
available = new
Semaphore
(MAX_AVAILABLE, true);
71
* the
semaphore
, guaranteeing that an item is available for use. When
73
* pool and a permit is returned to the
semaphore
, allowing another
76
* from being returned to the pool. The
semaphore
encapsulates the
81
* <p>A
semaphore
initialized to one, and which is used such that i
[
all
...]
/external/v8/src/
platform.h
117
class
Semaphore
;
226
// Factory method for creating platform dependent
Semaphore
.
227
// Please use delete to reclaim the storage for the returned
Semaphore
.
228
static
Semaphore
* CreateSemaphore(int count);
438
//
Semaphore
440
// A
semaphore
object is a synchronization object that maintains a count. The
441
// count is decremented each time a thread completes a wait for the
semaphore
442
// object and incremented each time a thread signals the
semaphore
. When the
443
// count reaches zero, threads waiting for the
semaphore
blocks until the
446
class
Semaphore
{
[
all
...]
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 150 milliseconds