Home
last modified time | relevance | path

Searched refs:start_routine (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp142 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 Dthreading.c41 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 Dthreading.h67 void* (*start_routine)(void*); member
72 void* (*start_routine) (void*), void* arg);
/freebsd/lib/libthr/thread/
H A Dthr_create.c53 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 Dthr_private.h416 void *(*start_routine)(void *); member
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win.cpp135 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 Dasan_interceptors.cpp245 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 Ddfsan_thread.cpp10 DFsanThread *DFsanThread::Create(thread_callback_t start_routine, void *arg, in Create() argument
15 thread->start_routine_ = start_routine; in Create()
H A Ddfsan_thread.h27 static DFsanThread *Create(thread_callback_t start_routine, void *arg,
H A Ddfsan_custom.cpp872 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 Dmsan_thread.cpp10 MsanThread *MsanThread::Create(thread_callback_t start_routine, in Create() argument
15 thread->start_routine_ = start_routine; in Create()
H A Dmsan_thread.h23 static MsanThread *Create(thread_callback_t start_routine, void *arg);
/freebsd/contrib/jemalloc/src/
H A Dmutex.c33 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 Dbackground_thread.c45 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 Dmemprof_thread.cpp74 MemprofThread *MemprofThread::Create(thread_callback_t start_routine, void *arg, in Create() argument
80 thread->start_routine_ = start_routine; in Create()
H A Dmemprof_interceptors.cpp135 void *(*start_routine)(void *), void *arg) { in INTERCEPTOR()
154 MemprofThread *t = MemprofThread::Create(start_routine, arg, current_tid, in INTERCEPTOR()
H A Dmemprof_thread.h59 static MemprofThread *Create(thread_callback_t start_routine, void *arg,
/freebsd/contrib/llvm-project/libunwind/src/
H A DRWMutex.hpp79 void *(*start_routine)(void *), void *arg);
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors.cpp188 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 Dax_pthread.m4375 static void *start_routine(void *a) { return a; }],
377 pthread_create(&th, 0, start_routine, 0);
/freebsd/contrib/unbound/
H A Dax_pthread.m4327 static void *start_routine(void *a) { return a; }],
329 pthread_create(&th, 0, start_routine, 0);
H A Dconfigure18444 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 DAttrDocs.td6260 (``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);