Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 14 of 14) sorted by relevance

/external/kernel-headers/original/asm-arm/
Dsemaphore.h15 struct semaphore { struct
28 struct semaphore name = __SEMAPHORE_INIT(name,count) argument
33 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
40 static inline void init_MUTEX(struct semaphore *sem) in init_MUTEX()
45 static inline void init_MUTEX_LOCKED(struct semaphore *sem) in init_MUTEX_LOCKED()
58 extern void __down(struct semaphore * sem);
59 extern int __down_interruptible(struct semaphore * sem);
60 extern int __down_trylock(struct semaphore * sem);
61 extern void __up(struct semaphore * sem);
67 static inline void down(struct semaphore * sem) in down()
[all …]
/external/kernel-headers/original/asm-x86/
Dsemaphore_32.h44 struct semaphore { struct
59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) argument
63 static inline void sema_init (struct semaphore *sem, int val) in sema_init()
76 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX()
81 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED()
96 static inline void down(struct semaphore * sem) in down()
115 static inline int down_interruptible(struct semaphore * sem) in down_interruptible()
138 static inline int down_trylock(struct semaphore * sem) in down_trylock()
160 static inline void up(struct semaphore * sem) in up()
/external/v8/test/cctest/
Dtest-thread-termination.cc33 v8::internal::Semaphore* semaphore = NULL; variable
37 semaphore->Signal(); in Signal()
151 semaphore->Wait(); in Run()
160 semaphore = v8::internal::OS::CreateSemaphore(0); in TEST()
174 delete semaphore; in TEST()
175 semaphore = NULL; in TEST()
211 semaphore = v8::internal::OS::CreateSemaphore(0); in TEST()
218 semaphore->Wait(); in TEST()
219 semaphore->Wait(); in TEST()
228 delete semaphore; in TEST()
[all …]
/external/srec/portable/include/
Dptrd.h312 PtrdSemaphore **semaphore);
322 PORTABLE_API ESR_ReturnCode PtrdSemaphoreDestroy(PtrdSemaphore *semaphore);
333 PORTABLE_API ESR_ReturnCode PtrdSemaphoreAcquire(PtrdSemaphore *semaphore);
347 PORTABLE_API ESR_ReturnCode PtrdSemaphoreAcquireTimeout(PtrdSemaphore *semaphore,
359 PORTABLE_API ESR_ReturnCode PtrdSemaphoreRelease(PtrdSemaphore *semaphore);
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPTransaction.java131 private Semaphore semaphore; field in SIPTransaction
332 this.semaphore = new Semaphore(1,true); in SIPTransaction()
1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); in acquireSem()
1181 this.semaphore.release(); in semRelease()
/external/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h443 struct semaphore j_barrier;
476 struct semaphore j_checkpoint_sem;
479 struct semaphore j_sem;
/external/kernel-headers/original/linux/
Dkernelcapi.h65 struct semaphore recv_sem;
Dtty.h57 struct semaphore pty_sem;
177 struct semaphore termios_sem;
Ddevice.h147 struct semaphore sem; /* locks both the children and interfaces lists */
311 struct semaphore sem; /* semaphore to synchronize calls to
/external/yaffs2/yaffs2/
Dyaffs_guts.h625 struct semaphore sem; /* Semaphore for waiting on erasure.*/
626 struct semaphore grossLock; /* Gross locking semaphore */
/external/kernel-headers/original/linux/netfilter/
Dnfnetlink.h132 extern struct semaphore nfnl_sem;
/external/bluetooth/glib/
DChangeLog.pre-2-4345 child_wake_up_pipe replaced by semaphore like it is done
DChangeLog.pre-1-2536 loop. On Win32, use a semaphore and not a pipe to wake up the main
/external/sqlite/dist/
Dsqlite3.c.orig21324 ** + for named semaphore locks (VxWorks only)
21412 # include <semaphore.h>
22276 sem_t *pSem; /* Named POSIX semaphore */
22277 char aSemName[MAX_PATHNAME+2]; /* Name of that semaphore */
23670 ** Named semaphore locking is only supported on VxWorks.
23767 /* lock semaphore now but bail out when already locked. */
23840 ** Named semaphore locking is only available on VxWorks.
23842 *************** End of the named semaphore lock implementation ****************
24986 ** Otherwise fall back to the named semaphore method.
25134 /* Named semaphore locking uses the file path so it needs to be