Searched refs:semaphore (Results 1 – 14 of 14) sorted by relevance
15 struct semaphore { struct28 struct semaphore name = __SEMAPHORE_INIT(name,count) argument33 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 …]
44 struct semaphore { struct59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) argument63 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()
33 v8::internal::Semaphore* semaphore = NULL; variable37 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 …]
312 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);
131 private Semaphore semaphore; field in SIPTransaction332 this.semaphore = new Semaphore(1,true); in SIPTransaction()1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); in acquireSem()1181 this.semaphore.release(); in semRelease()
443 struct semaphore j_barrier;476 struct semaphore j_checkpoint_sem;479 struct semaphore j_sem;
65 struct semaphore recv_sem;
57 struct semaphore pty_sem;177 struct semaphore termios_sem;
147 struct semaphore sem; /* locks both the children and interfaces lists */311 struct semaphore sem; /* semaphore to synchronize calls to
625 struct semaphore sem; /* Semaphore for waiting on erasure.*/626 struct semaphore grossLock; /* Gross locking semaphore */
132 extern struct semaphore nfnl_sem;
345 child_wake_up_pipe replaced by semaphore like it is done
536 loop. On Win32, use a semaphore and not a pipe to wake up the main
21324 ** + 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