Searched refs:thread (Results 1 - 9 of 9) sorted by relevance
/system/extras/tests/bionic/libc/common/ |
H A D | test_clock.c | 25 // this thread soaks the CPU so that clock() function will advance 36 pthread_t thread; local 42 pthread_create(&thread, NULL, cpu_hog, NULL); 54 // exit could wait for the other thread to complete
|
/system/core/fastbootd/ |
H A D | transport.c | 118 pthread_t thread; local 133 pthread_create(&thread, &attr, transport_data_thread, thandle); 143 pthread_t thread; local 149 pthread_create(&thread, &attr, transport_connect_thread, transport);
|
/system/core/libbacktrace/ |
H A D | backtrace_test.cpp | 66 thread_t thread; member in struct:dump_thread_t 174 thread_t* thread = reinterpret_cast<thread_t*>(data); local 175 android_atomic_acquire_store(1, &thread->state); 177 while (thread->state) { 388 pthread_t thread; local 389 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, NULL) == 0); 447 thread_t* thread = reinterpret_cast<thread_t*>(data); local 449 thread->tid = gettid(); 460 pthread_t thread; local 461 ASSERT_TRUE(pthread_create(&thread, 498 pthread_t thread; local 523 thread_t* thread = reinterpret_cast<thread_t*>(data); local 536 pthread_t thread; local 846 pthread_t thread; local [all...] |
/system/netd/server/ |
H A D | DnsProxyListener.cpp | 72 pthread_t thread; local 73 pthread_create(&thread, NULL, 75 pthread_detach(thread); 292 pthread_t thread; local 293 pthread_create(&thread, NULL, 295 pthread_detach(thread); 409 pthread_t thread; local 410 pthread_create(&thread, NULL, 412 pthread_detach(thread);
|
/system/core/libsync/tests/ |
H A D | sync_test.cpp | 10 #include <thread> 358 // Spawn a thread to wait on a fence when the timeline is killed. 359 thread waitThread{ 368 // Wait for the thread to spool up. 374 // wait for the thread to clean up. 385 // Spawn a thread to wait on a fence when the timeline is killed. 386 thread waitThread{ 399 // Wait for the thread to spool up. 405 // wait for the thread to clean up. 454 // Wait on the prior thread t [all...] |
/system/core/libutils/ |
H A D | Threads.cpp | 69 * Create and run a new thread. 161 pthread_t thread; local 162 int result = pthread_create(&thread, &attr, 176 *threadId = (android_thread_id_t)thread; // XXX: this is not portable 182 static pthread_t android_thread_id_t_to_pthread(android_thread_id_t thread) argument 184 return (pthread_t) thread; 215 ALOG(LOG_VERBOSE, "thread", "thread exiting\n"); 220 * Create and run a new thread. 242 ALOG(LOG_WARN, "thread", "WARNIN [all...] |
/system/core/adb/ |
H A D | sysdeps.h | 71 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) argument 73 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); 74 if (thread->tid == (unsigned)-1L) {
|
H A D | sysdeps_win32.c | 1449 * waiting threads as there are chunks. Then each thread would wait on a chunk of 1454 /* Number of handles to wait on in each wating thread. */ 1457 /* Descriptor for a wating thread */ 1460 * accross all the waiting threads, so each waiting thread knows when any 1461 * other thread has exited, so it can exit too. */ 1463 /* Upon exit from a waiting thread contains the index of the handle that has 1472 /* Array of handles to wait on in a waiting thread. */ 1478 /* Waiting thread handle. */ 1479 HANDLE thread; member in struct:WaitForAllParam 1482 /* Waiting thread routin [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 1235 * saves us 128KB per request handler thread at the cost of this scary comment. */ 1749 /* When deriving permissions, this thread is used to process inotify events, 1753 pthread_t thread; local 1754 int res = pthread_create(&thread, NULL, start_handler, &handlers[i]); 1756 ERROR("failed to start thread #%d, error=%d\n", i, res);
|
Completed in 4453 milliseconds