/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 142 void *(*start_routine)(void *); member 155 void *(*start_routine)(void *) = tinfo->start_routine; in thread_start() local 165 return start_routine(start_routine_arg); in thread_start() 235 void *(*start_routine)(void*), void *arg) { in INTERCEPTOR() 271 tinfo->start_routine = start_routine; in INTERCEPTOR()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | threading.c | 41 thread->arg = thread->start_routine(thread->arg); in worker() 46 void* (*start_routine) (void*), void* arg) in ZSTD_pthread_create() 50 thread->start_routine = start_routine; in ZSTD_pthread_create()
|
H A D | threading.h | 67 void* (*start_routine)(void*); member 72 void* (*start_routine) (void*), void* arg);
|
/freebsd/lib/libthr/thread/ |
H A D | thr_create.c | 53 const pthread_attr_t * __restrict attr, void *(*start_routine) (void *), in _pthread_create() 116 new_thread->start_routine = start_routine; in _pthread_create() 289 _pthread_exit(curthread->start_routine(curthread->arg)); in thread_start()
|
H A D | thr_private.h | 416 void *(*start_routine)(void *); member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_win.cpp | 135 thread_callback_t start_routine; member 147 auto res = (*params.start_routine)(params.arg); in asan_thread_start() 153 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI() argument 163 ThreadStartParams params = {start_routine, arg}; in INTERCEPTOR_WINAPI()
|
H A D | asan_interceptors.cpp | 245 void *(*start_routine)(void *), void *arg) { in INTERCEPTOR() 276 asanThreadArgRetval().Create(detached, {start_routine, arg}, [&]() -> uptr { in INTERCEPTOR()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_thread.cpp | 10 DFsanThread *DFsanThread::Create(thread_callback_t start_routine, void *arg, in Create() argument 15 thread->start_routine_ = start_routine; in Create()
|
H A D | dfsan_thread.h | 27 static DFsanThread *Create(thread_callback_t start_routine, void *arg,
|
H A D | dfsan_custom.cpp | 872 void *start_routine, void *arg, in dfsan_pthread_create() argument 885 DFsanThread::Create((thread_callback_t)start_routine, arg, track_origins); in dfsan_pthread_create() 896 pthread_t *thread, const pthread_attr_t *attr, void *start_routine, in __dfsw_pthread_create() argument 900 return dfsan_pthread_create(thread, attr, start_routine, arg, ret_label); in __dfsw_pthread_create() 904 pthread_t *thread, const pthread_attr_t *attr, void *start_routine, in __dfso_pthread_create() argument 910 return dfsan_pthread_create(thread, attr, start_routine, arg, ret_label, in __dfso_pthread_create()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_thread.cpp | 10 MsanThread *MsanThread::Create(thread_callback_t start_routine, in Create() argument 15 thread->start_routine_ = start_routine; in Create()
|
H A D | msan_thread.h | 23 static MsanThread *Create(thread_callback_t start_routine, void *arg);
|
/freebsd/contrib/jemalloc/src/ |
H A D | mutex.c | 33 const pthread_attr_t *__restrict attr, void *(*start_routine)(void *), in pthread_create() 35 return pthread_create_wrapper(thread, attr, start_routine, arg); in pthread_create()
|
H A D | background_thread.c | 45 void *(*start_routine)(void *), void *__restrict arg) { in pthread_create_wrapper() 48 return pthread_create_fptr(thread, attr, start_routine, arg); in pthread_create_wrapper() 353 const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) { 365 int create_err = pthread_create_wrapper(thread, attr, start_routine,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_thread.cpp | 74 MemprofThread *MemprofThread::Create(thread_callback_t start_routine, void *arg, in Create() argument 80 thread->start_routine_ = start_routine; in Create()
|
H A D | memprof_interceptors.cpp | 135 void *(*start_routine)(void *), void *arg) { in INTERCEPTOR() 154 MemprofThread *t = MemprofThread::Create(start_routine, arg, current_tid, in INTERCEPTOR()
|
H A D | memprof_thread.h | 59 static MemprofThread *Create(thread_callback_t start_routine, void *arg,
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | RWMutex.hpp | 79 void *(*start_routine)(void *), void *arg);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 188 void *(*start_routine)(void *), void *arg) { in INTERCEPTOR() 190 return REAL(pthread_create)(thread, attr, start_routine, arg); in INTERCEPTOR()
|
/freebsd/sys/contrib/libsodium/m4/ |
H A D | ax_pthread.m4 | 375 static void *start_routine(void *a) { return a; }], 377 pthread_create(&th, 0, start_routine, 0);
|
/freebsd/contrib/unbound/ |
H A D | ax_pthread.m4 | 327 static void *start_routine(void *a) { return a; }], 329 pthread_create(&th, 0, start_routine, 0);
|
H A D | configure | 18444 static void *start_routine(void *a) { return a; } 18449 pthread_create(&th, 0, start_routine, 0);
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AttrDocs.td | 6260 (``start_routine``) is called zero or more times by the ``pthread_create`` function, 6270 __attribute__((callback (start_routine, arg))) 6272 void *(*start_routine) (void *), void *arg); 6276 void *(*start_routine) (void *), void *arg);
|