/external/v8/test/cctest/ |
H A D | test-circular-queue.cc | 125 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local 133 ProducerThread producer1(&scq, kRecordsPerChunk, 1, semaphore); 134 ProducerThread producer2(&scq, kRecordsPerChunk, 10, semaphore); 135 ProducerThread producer3(&scq, kRecordsPerChunk, 20, semaphore); 139 semaphore->Wait(); 151 semaphore->Wait(); 163 semaphore->Wait(); 175 delete semaphore;
|
H A D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; variable 37 semaphore->Signal(); 167 semaphore->Wait(); 180 semaphore = v8::internal::OS::CreateSemaphore(0); 195 delete semaphore; 196 semaphore = NULL; 234 semaphore = v8::internal::OS::CreateSemaphore(0); 244 // Wait until all threads have signaled the semaphore. 246 semaphore->Wait(); 259 delete semaphore; [all...] |
H A D | test-threads.cc | 146 i::Semaphore* semaphore) 149 semaphore_(semaphore) { 176 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local 180 new ThreadIdValidationThread(prev, &refs, i, semaphore); 187 semaphore->Wait(); 143 ThreadIdValidationThread(i::Thread* thread_to_start, i::List<i::ThreadId>* refs, unsigned int thread_no, i::Semaphore* semaphore) argument
|
/external/kernel-headers/original/asm-arm/ |
H A D | semaphore.h | 2 * linux/include/asm-arm/semaphore.h 15 struct semaphore { struct 28 struct semaphore name = __SEMAPHORE_INIT(name,count) 33 static inline void sema_init(struct semaphore *sem, int val) 40 static inline void init_MUTEX(struct semaphore *sem) 45 static inline void init_MUTEX_LOCKED(struct semaphore *sem) 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 * se [all...] |
/external/kernel-headers/original/asm-x86/ |
H A D | semaphore_32.h | 14 * the original code and to make semaphore waits 21 * also implemented the `trylock' semaphore operation. 35 * /pub/linux/src/semaphore/semaphore-2.0.24.tar.gz. 44 struct semaphore { struct 59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 63 static inline void sema_init (struct semaphore *sem, int val) 66 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 76 static inline void init_MUTEX (struct semaphore *sem) 81 static inline void init_MUTEX_LOCKED (struct semaphore *se [all...] |
/external/valgrind/main/drd/ |
H A D | drd_semaphore.c | 86 /** Enable or disable tracing of semaphore actions. */ 94 * client semaphore at client addres 'semaphore'. 98 const Addr semaphore) 100 tl_assert(semaphore != 0); 101 tl_assert(p->a1 == semaphore); 128 "Destruction of semaphore that is being waited" 139 * client semaphore. Allocate a new structure if such a structure did not 144 drd_semaphore_get_or_allocate(const Addr semaphore) argument 148 tl_assert(offsetof(DrdClientobj, semaphore) 97 drd_semaphore_initialize(struct semaphore_info* const p, const Addr semaphore) argument 163 semaphore_get(const Addr semaphore) argument 170 semaphore_init(const Addr semaphore, const Word pshared, const UInt value) argument 219 semaphore_destroy(const Addr semaphore) argument 248 semaphore_open(const Addr semaphore, const Char* name, const Word oflag, const Word mode, const UInt value) argument 292 semaphore_close(const Addr semaphore) argument 321 semaphore_pre_wait(const Addr semaphore) argument 346 semaphore_post_wait(const DrdThreadId tid, const Addr semaphore, const Bool waited) argument 401 semaphore_pre_post(const DrdThreadId tid, const Addr semaphore) argument 424 semaphore_post_post(const DrdThreadId tid, const Addr semaphore, const Bool succeeded) argument [all...] |
H A D | drd_clientobj.h | 151 struct semaphore_info semaphore; member in union:drd_clientobj
|
H A D | drd_error.h | 143 Addr semaphore; member in struct:__anon12499
|
/external/webkit/Source/WebKit2/Platform/win/ |
H A D | RunLoopWin.cpp | 82 bool RunLoop::dispatchSentMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double absoluteTime) argument 85 return semaphore.wait(absoluteTime); 87 HANDLE handle = semaphore.event(); 93 // Consider the wait to have timed out, even if the semaphore is currently signaled. 100 // The semaphore was signaled.
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | JSR166TestCase.java | 935 public void await(Semaphore semaphore) { argument 937 assertTrue(semaphore.tryAcquire(LONG_DELAY_MS, MILLISECONDS));
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
H A D | SIPTransaction.java | 131 private Semaphore semaphore; field in class:SIPTransaction 332 this.semaphore = new Semaphore(1,true); 1130 * semaphore gaurds re-entrancy to the transaction. 1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); 1157 * Release the transaction semaphore. 1181 this.semaphore.release();
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 70 #include <semaphore.h> 5076 mach_msg_port_descriptor_t semaphore; member in struct:__anon12361 5084 assign_port_name(reply->semaphore.name, "semaphore-%p"); 5085 PRINT("%s", name_for_port(reply->semaphore.name)); 5096 mach_msg_port_descriptor_t semaphore; member in struct:__anon12362 5105 name_for_port(MACH_REMOTE), name_for_port(req->semaphore.name)); 5107 record_port_destroy(req->semaphore.name); 6456 // Create a semaphore that pthread_hijack will signal once it starts 6478 // GrP fixme semaphore destro [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | ... eclipse.core.runtime.internal.adaptor.Semaphore semaphore private final int frameworkEventType public void " href="/4.1 ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | ... eclipse.core.runtime.internal.adaptor.Semaphore semaphore private final int frameworkEventType public void " href="/4.1 ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |