OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:semaphore
(Results
76 - 100
of
571
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/valgrind/main/helgrind/tests/
tc18_semabuse.c
14
#include <
semaphore
.h>
31
/* Do 'wait' on a bogus
semaphore
. This should fail, but on glibc
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
semaphore.h
21
# error "Never use <bits/
semaphore
.h> directly; include <
semaphore
.h> instead."
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
semaphore.h
21
# error "Never use <bits/
semaphore
.h> directly; include <
semaphore
.h> instead."
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
semaphore.h
21
# error "Never use <bits/
semaphore
.h> directly; include <
semaphore
.h> instead."
/prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_mutex.h
82
/** @name
Semaphore
functions */ /*@{*/
85
/** The SDL
semaphore
structure, defined in SDL_sem.c */
89
/** Create a
semaphore
, initialized with value, returns NULL on failure. */
92
/** Destroy a
semaphore
*/
96
* This function suspends the calling thread until the
semaphore
pointed
97
* to by sem has a positive count. It then atomically decreases the
semaphore
117
/** Atomically increases the
semaphore
's count (not blocking).
122
/** Returns the current count of the
semaphore
*/
/prebuilts/tools/linux-x86/sdl/include/SDL/
SDL_mutex.h
82
/** @name
Semaphore
functions */ /*@{*/
85
/** The SDL
semaphore
structure, defined in SDL_sem.c */
89
/** Create a
semaphore
, initialized with value, returns NULL on failure. */
92
/** Destroy a
semaphore
*/
96
* This function suspends the calling thread until the
semaphore
pointed
97
* to by sem has a positive count. It then atomically decreases the
semaphore
117
/** Atomically increases the
semaphore
's count (not blocking).
122
/** Returns the current count of the
semaphore
*/
/prebuilts/tools/windows/sdl/include/SDL/
SDL_mutex.h
82
/** @name
Semaphore
functions */ /*@{*/
85
/** The SDL
semaphore
structure, defined in SDL_sem.c */
89
/** Create a
semaphore
, initialized with value, returns NULL on failure. */
92
/** Destroy a
semaphore
*/
96
* This function suspends the calling thread until the
semaphore
pointed
97
* to by sem has a positive count. It then atomically decreases the
semaphore
117
/** Atomically increases the
semaphore
's count (not blocking).
122
/** Returns the current count of the
semaphore
*/
/bionic/libc/bionic/
semaphore.c
28
#include <
semaphore
.h>
37
/* In this implementation, a
semaphore
contains a
42
*
semaphore
, 0 or more to indicate uncontended state,
65
/* Maximum unsigned value that can be stored in the
semaphore
.
86
/* return the shared bitflag from a
semaphore
*/
97
/* ensure that 'value' can be stored in the
semaphore
*/
157
/* Decrement a
semaphore
's value atomically,
209
/* "Increment" the value of a
semaphore
atomically and
245
/* lock a
semaphore
*/
277
/* POSIX says we need to try to decrement the
semaphore
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
SDL_syssem.cpp
34
/*
Semaphore
functions using the Win32 API */
64
/* Create a
semaphore
*/
71
SDL_SetError("Couldn't create
semaphore
");
79
/* Free the
semaphore
*/
193
/* Returns the current count of the
semaphore
*/
/external/qemu/distrib/sdl-1.2.15/docs/html/
sdlcreatesemaphore.html
83
>SDL_CreateSemaphore -- Creates a new
semaphore
and assigns an initial value to it.</DIV
127
> creates a new
semaphore
and
134
Each locking operation on the
semaphore
by
147
will atomically decrement the
semaphore
value. The locking operation will be blocked
148
if the
semaphore
value is not positive (greater than zero). Each unlock operation by
153
will atomically increment the
semaphore
value.</P
163
>Returns a pointer to an initialized
semaphore
or
sdlsemtrywait.html
83
>SDL_SemTryWait -- Attempt to lock a
semaphore
but don't suspend the thread.</DIV
134
>. If the value of the
semaphore
141
decrement the
semaphore
value and return 0, otherwise it will return
150
> is successful, the
semaphore
168
> if the
semaphore
was successfully locked or
178
>If the
semaphore
was not successfully locked, the
semaphore
will be unchanged.</P
sdlsemvalue.html
83
>SDL_SemValue -- Return the current value of a
semaphore
.</DIV
127
> returns the current
semaphore
value from
128
the
semaphore
pointed to by <TT
143
>Returns current value of the
semaphore
.</P
/packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeLlcpSocket.cpp
17
#include <
semaphore
.h>
125
/* Create the local
semaphore
*/
149
ALOGE("Failed to wait for
semaphore
(errno=0x%08x)", errno);
180
/* Create the local
semaphore
*/
208
ALOGE("Failed to wait for
semaphore
(errno=0x%08x)", errno);
262
/* Create the local
semaphore
*/
289
ALOGE("Failed to wait for
semaphore
(errno=0x%08x)", errno);
323
/* Create the local
semaphore
*/
345
ALOGE("Failed to wait for
semaphore
(errno=0x%08x)", errno);
/cts/libs/util/src/android/cts/util/
WatchDog.java
18
import java.util.concurrent.
Semaphore
;
32
private
Semaphore
mSemaphore;
50
mSemaphore = new
Semaphore
(0);
/cts/tests/tests/openglperf/src/android/openglperf/cts/
GlPlanetsActivity.java
24
import java.util.concurrent.
Semaphore
;
42
private final
Semaphore
mSem = new
Semaphore
(0);
/cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewSnapshotTestActivity.java
25
import java.util.concurrent.
Semaphore
;
37
private final
Semaphore
mSemaphore = new
Semaphore
(0);
TextureViewTestActivity.java
24
import java.util.concurrent.
Semaphore
;
36
private final
Semaphore
mSemaphore = new
Semaphore
(0);
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
SDL_sysmutex.c
44
/* Create the mutex
semaphore
, with initial value 1 */
69
/* Lock the
semaphore
*/
122
then release the lock
semaphore
.
SDL_syssem.c
106
You cannot call this function when another thread is using the
semaphore
.
131
SDL_SetError("Passed a NULL
semaphore
");
151
SDL_SetError("Passed a NULL
semaphore
");
197
SDL_SetError("Passed a NULL
semaphore
");
/external/replicaisland/src/com/replica/replicaisland/
RenderingWatchDog.java
18
import java.util.concurrent.
Semaphore
;
34
private
Semaphore
mSemaphore;
50
mSemaphore = new
Semaphore
(0);
/external/valgrind/main/drd/tests/
sem_open.c
1
/* Use a
semaphore
to implement mutual exclusion. */
6
#include <
semaphore
.h>
66
fprintf(stderr, "Failed to create a
semaphore
with name %s\n",
/cts/suite/audio_quality/lib/include/audio/
RemoteAudio.h
31
#include "
Semaphore
.h"
78
// this is just
semaphore
wait without any addition
94
Semaphore
mInitWait;
134
Semaphore
mClientWait;
/development/ndk/platforms/android-3/include/linux/
cpu.h
19
#include <asm/
semaphore
.h>
/external/compiler-rt/lib/tsan/lit_tests/
vptr_benign_race.cc
3
#include <
semaphore
.h>
vptr_harmful_race.cc
3
#include <
semaphore
.h>
Completed in 560 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>