Searched defs:thread (Results 1 - 6 of 6) sorted by relevance
/system/extras/tests/bionic/libc/other/ |
H A D | test_thread_max.c | 36 fprintf(stderr, "thread %ld\n", (long)arg ); 50 pthread_t thread; local 53 if (pthread_create( &thread, &attr, thread_func, (void*)(long)count ) < 0) { 54 fprintf(stderr, "could not create thread %d\n", count);
|
/system/core/toolbox/ |
H A D | setconsole.c | 127 pthread_t thread; local 132 pthread_create(&thread, &attr, activate_thread, (void*)fd);
|
/system/bluetooth/tools/ |
H A D | sock_shutdown_test.c | 227 pthread_t thread; local 238 pthread_create(&thread, NULL, (void *)thread_accept, (void *)&args); 243 pthread_join(thread, NULL);
|
H A D | asocket_test.c | 420 pthread_t thread; local 431 pthread_create(&thread, NULL, (void *)thread_delay_close, (void *)&args); 435 pthread_join(thread, NULL); 445 pthread_t thread; local 456 pthread_create(&thread, NULL, (void *)thread_accept, (void *)&args); 461 pthread_join(thread, NULL); 473 pthread_t thread; local 480 pthread_create(&thread, NULL, (void *)thread_connect, (void *)&args); 485 pthread_join(thread, NULL); 495 // accept in one thread 498 pthread_t thread; local [all...] |
H A D | socktest.c | 434 pthread_t thread; local 445 pthread_create(&thread, NULL, (void *)thread_delay_close, (void *)&args); 449 pthread_join(thread, NULL); 459 pthread_t thread; local 470 pthread_create(&thread, NULL, (void *)thread_accept, (void *)&args); 475 pthread_join(thread, NULL); 487 pthread_t thread; local 494 pthread_create(&thread, NULL, (void *)thread_connect, (void *)&args); 499 pthread_join(thread, NULL); 512 pthread_t thread; local 542 pthread_t thread; local 570 pthread_t thread; local [all...] |
/system/core/adb/ |
H A D | sysdeps.h | 68 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* arg) argument 70 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); 71 if (thread->tid == (unsigned)-1L) {
|
Completed in 79 milliseconds