thread 260 plugin/timer/timerlist.cpp clockid_t TimerList::on_pthread_getcpuclockid(pthread_t thread, clockid_t realId) thread 263 plugin/timer/timerlist.cpp _clockPthreadList[realId] = thread; thread 100 plugin/timer/timerlist.h clockid_t on_pthread_getcpuclockid(pthread_t thread, clockid_t clock_id); thread 111 plugin/timer/timerwrappers.cpp extern "C" int pthread_getcpuclockid(pthread_t thread, clockid_t *clock_id) thread 115 plugin/timer/timerwrappers.cpp int ret = _real_pthread_getcpuclockid(thread, &realId); thread 117 plugin/timer/timerwrappers.cpp *clock_id = TimerList::instance().on_pthread_getcpuclockid(thread, realId); thread 419 processinfo.cpp bool ProcessInfo::beginPthreadJoin(pthread_t thread) thread 423 processinfo.cpp map<pthread_t, pthread_t>::iterator i = _pthreadJoinId.find(thread); thread 425 processinfo.cpp _pthreadJoinId[thread] = pthread_self(); thread 432 processinfo.cpp void ProcessInfo::clearPthreadJoinState(pthread_t thread) thread 435 processinfo.cpp if (_pthreadJoinId.find(thread) != _pthreadJoinId.end()) { thread 436 processinfo.cpp _pthreadJoinId.erase(thread); thread 441 processinfo.cpp void ProcessInfo::endPthreadJoin(pthread_t thread) thread 444 processinfo.cpp if (_pthreadJoinId.find(thread) != _pthreadJoinId.end() && thread 445 processinfo.cpp pthread_equal(_pthreadJoinId[thread], pthread_self())) { thread 446 processinfo.cpp _pthreadJoinId.erase(thread); thread 63 processinfo.h bool beginPthreadJoin(pthread_t thread); thread 64 processinfo.h void endPthreadJoin(pthread_t thread); thread 65 processinfo.h void clearPthreadJoinState(pthread_t thread); thread 925 syscallsreal.c int _real_pthread_tryjoin_np(pthread_t thread, void **retval) { thread 926 syscallsreal.c REAL_FUNC_PASSTHROUGH_TYPED (int, pthread_tryjoin_np) (thread, retval); thread 930 syscallsreal.c int _real_pthread_timedjoin_np(pthread_t thread, void **retval, thread 932 syscallsreal.c REAL_FUNC_PASSTHROUGH_TYPED (int, pthread_timedjoin_np) (thread, retval, abstime); thread 936 syscallsreal.c int _real_pthread_create(pthread_t *thread, const pthread_attr_t *attr, thread 939 syscallsreal.c (thread,attr,start_routine,arg); thread 384 syscallwrappers.h int _real_pthread_create(pthread_t *thread, const pthread_attr_t *attr, thread 387 syscallwrappers.h int _real_pthread_tryjoin_np(pthread_t thread, void **retval); thread 388 syscallwrappers.h int _real_pthread_timedjoin_np(pthread_t thread, void **retval, thread 421 threadlist.cpp Thread *thread; thread 432 threadlist.cpp for (thread = activeThreads; thread != NULL; thread = next) { thread 433 threadlist.cpp next = thread->next; thread 436 threadlist.cpp switch (thread->state) { thread 442 threadlist.cpp if (Thread_UpdateState(thread, ST_SIGNALED, ST_RUNNING)) { thread 443 threadlist.cpp if (THREAD_TGKILL(motherpid, thread->tid, SigInfo::ckptSignal()) < 0) { thread 444 threadlist.cpp JASSERT(errno == ESRCH) (JASSERT_ERRNO) (thread->tid) thread 446 threadlist.cpp ThreadList::threadIsDead(thread); thread 454 threadlist.cpp ret = THREAD_TGKILL(motherpid, thread->tid, 0); thread 457 threadlist.cpp ThreadList::threadIsDead(thread); thread 462 threadlist.cpp if (THREAD_TGKILL(motherpid, thread->tid, 0) == -1 && errno == ESRCH) { thread 463 threadlist.cpp ThreadList::threadIsDead(thread); thread 610 threadlist.cpp void ThreadList::waitForAllRestored(Thread *thread) thread 612 threadlist.cpp if (thread == ckptThread) { thread 642 threadlist.cpp Thread_RestoreSigState(thread); thread 651 threadlist.cpp Thread *thread; thread 675 threadlist.cpp for (thread = activeThreads; thread != NULL; thread = thread->next) { thread 677 threadlist.cpp sigandset(&sigpending_global, &tmp, &(thread->sigpending)); thread 680 threadlist.cpp if (thread == motherofall) continue; thread 691 threadlist.cpp void *clonearg = thread; thread 693 threadlist.cpp mtcpRestartThreadArg.arg = thread; thread 694 threadlist.cpp mtcpRestartThreadArg.virtualTid = thread->virtual_tid; thread 701 threadlist.cpp (void*)((char*)thread->saved_sp - 128), thread 704 threadlist.cpp thread->flags & ~CLONE_SETTLS, thread 705 threadlist.cpp clonearg, thread->ptid, NULL, thread->ctid); thread 708 threadlist.cpp JTRACE("Thread recreated") (thread->tid) (tid); thread 718 threadlist.cpp Thread *thread = (Thread*) threadv; thread 719 threadlist.cpp thread->tid = THREAD_REAL_TID(); thread 721 threadlist.cpp TLSInfo_RestoreTLSState(&thread->tlsInfo); thread 730 threadlist.cpp JTRACE("calling siglongjmp/setcontext") (thread->tid) (thread->virtual_tid); thread 732 threadlist.cpp siglongjmp(thread->jmpbuf, 1); /* Shouldn't return */ thread 734 threadlist.cpp setcontext(&thread->savctx); /* Shouldn't return */ thread 807 threadlist.cpp Thread *thread; thread 816 threadlist.cpp for (thread = activeThreads; thread != NULL; thread = next_thread) { thread 817 threadlist.cpp next_thread = thread->next; thread 818 threadlist.cpp if (thread != curThread && thread->tid == tid) { thread 820 threadlist.cpp (thread->tid) (thread->virtual_tid); thread 822 threadlist.cpp threadIsDead(thread); thread 830 threadlist.cpp if (thread->state == ST_ZOMBIE) { thread 832 threadlist.cpp if (-1 == THREAD_TGKILL(motherpid, thread->tid, 0)) { thread 833 threadlist.cpp JTRACE("Killing zombie thread") (thread->tid); thread 834 threadlist.cpp threadIsDead(thread); thread 863 threadlist.cpp void ThreadList::threadIsDead (Thread *thread) thread 865 threadlist.cpp JASSERT(thread != NULL); thread 866 threadlist.cpp JTRACE("Putting thread on freelist") (thread->tid); thread 869 threadlist.cpp if (thread->prev != NULL) { thread 870 threadlist.cpp thread->prev->next = thread->next; thread 872 threadlist.cpp if (thread->next != NULL) { thread 873 threadlist.cpp thread->next->prev = thread->prev; thread 875 threadlist.cpp if (thread == activeThreads) { thread 879 threadlist.cpp thread->next = threads_freelist; thread 880 threadlist.cpp threads_freelist = thread; thread 890 threadlist.cpp Thread *thread; thread 894 threadlist.cpp thread = (Thread*) JALLOC_HELPER_MALLOC(sizeof(Thread)); thread 895 threadlist.cpp JASSERT(thread != NULL); thread 897 threadlist.cpp thread = threads_freelist; thread 901 threadlist.cpp memset(thread, 0, sizeof (*thread)); thread 902 threadlist.cpp return thread; thread 915 threadlist.cpp Thread *thread = threads_freelist; thread 917 threadlist.cpp JALLOC_HELPER_FREE(thread); thread 47 threadlist.h void threadIsDead (Thread *thread); thread 53 threadwrappers.cpp Thread *thread = (Thread*) arg; thread 57 threadwrappers.cpp ThreadList::updateTid(thread); thread 68 threadwrappers.cpp int ret = thread->fn(thread->arg); thread 104 threadwrappers.cpp Thread *thread = ThreadList::getNewThread(); thread 105 threadwrappers.cpp ThreadList::initThread(thread, fn, arg, flags, ptid, ctid); thread 111 threadwrappers.cpp pid_t tid = _real_clone(clone_start, child_stack, flags, thread, thread 117 threadwrappers.cpp delete thread; thread 176 threadwrappers.cpp extern "C" int pthread_create(pthread_t *thread, const pthread_attr_t *attr, thread 215 threadwrappers.cpp retval = _real_pthread_create(thread, attr, pthread_start, threadArg); thread 220 threadwrappers.cpp ProcessInfo::instance().clearPthreadJoinState(*thread); thread 261 threadwrappers.cpp extern "C" int pthread_join(pthread_t thread, void **retval) thread 265 threadwrappers.cpp if (!ProcessInfo::instance().beginPthreadJoin(thread)) { thread 274 threadwrappers.cpp ret = _real_pthread_timedjoin_np(thread, retval, &ts); thread 282 threadwrappers.cpp ProcessInfo::instance().endPthreadJoin(thread); thread 286 threadwrappers.cpp extern "C" int pthread_tryjoin_np(pthread_t thread, void **retval) thread 289 threadwrappers.cpp if (!ProcessInfo::instance().beginPthreadJoin(thread)) { thread 294 threadwrappers.cpp ret = _real_pthread_tryjoin_np(thread, retval); thread 297 threadwrappers.cpp ProcessInfo::instance().endPthreadJoin(thread); thread 301 threadwrappers.cpp extern "C" int pthread_timedjoin_np(pthread_t thread, void **retval, thread 306 threadwrappers.cpp if (!ProcessInfo::instance().beginPthreadJoin(thread)) { thread 319 threadwrappers.cpp ret = _real_pthread_timedjoin_np(thread, retval, &ts); thread 334 threadwrappers.cpp ProcessInfo::instance().endPthreadJoin(thread);