Searched defs:pth (Results 1 - 8 of 8) sorted by relevance

/external/valgrind/main/none/tests/
H A Dthread-exits.c92 pthread_t pth; local
120 pthread_create(&pth, NULL, maker, NULL);
130 pthread_join(pth, NULL);
/external/chromium/third_party/libjingle/source/talk/examples/login/
H A Dxmppsocket.cc49 talk_base::Thread* pth = talk_base::Thread::Current(); local
51 pth->socketserver()->CreateAsyncSocket(SOCK_STREAM);
/external/chromium/base/
H A Dshared_memory_unittest.cc241 PlatformThreadHandle pth; local
243 EXPECT_TRUE(PlatformThread::Create(0, thread_delegates[index], &pth));
244 thread_handles[index] = pth;
270 PlatformThreadHandle pth; local
272 EXPECT_TRUE(PlatformThread::Create(0, thread_delegates[index], &pth));
273 thread_handles[index] = pth;
/external/linux-tools-perf/bench/
H A Dsched-messaging.c205 static unsigned int group(pthread_t *pth, argument
234 pth[i] = create_worker(ctx, (void *)receiver);
247 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender);
/external/chromium/base/synchronization/
H A Dcondition_variable_unittest.cc495 PlatformThreadHandle pth; local
496 EXPECT_TRUE(PlatformThread::Create(0, this, &pth));
497 thread_handles_[i] = pth;
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config.c91 static int pth = -1; //poll thread handle variable
137 pth = btsock_thread_create(NULL, cfg_cmd_callback);
146 return pth >= 0;
229 btsock_thread_post_cmd(pth, CFG_CMD_SAVE, NULL, 0, 0);
327 btsock_thread_post_cmd(pth, CFG_CMD_SAVE, NULL, 0, 0);
H A Dbtif_pan.c281 static int pth = -1; variable
285 if(pth < 0)
287 pth = btsock_thread_create(btpan_tap_fd_signaled, NULL);
288 if(pth >= 0)
289 btsock_thread_add_fd(pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0);
294 if(pth >= 0)
296 btsock_thread_exit(pth);
297 pth = -1;
664 btsock_thread_add_fd(pth, fd, 0, SOCK_THREAD_FD_RD | SOCK_THREAD_ADD_FD_SYNC, 0);
H A Dbtif_sock_rfc.c100 static volatile int pth = -1; //poll thread handle variable
109 #define is_init_done() (pth != -1)
146 pth = poll_thread_handle;
152 int curr_pth = pth;
153 pth = -1;
336 btsock_thread_add_fd(pth, rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, rs->id);
366 btsock_thread_add_fd(pth, rs->fd, BTSOCK_RFCOMM,
397 btsock_thread_add_fd(pth, rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_RD, rs->id);
596 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, srv_rs->id);
597 btsock_thread_add_fd(pth, accept_r
[all...]

Completed in 906 milliseconds