Home
last modified time | relevance | path

Searched refs:mythread (Results 1 – 9 of 9) sorted by relevance

/freebsd/tools/test/stress2/misc/
H A Dsem_post.sh64 pthread_t mythread;
72 r = pthread_create(&mythread, NULL, threadfunc, NULL);
89 if ((r = pthread_kill(mythread, SIGINT)) != 0)
91 if ((r = pthread_join(mythread, NULL)) != 0)
/freebsd/contrib/xz/src/common/
H A Dmythread.h137 typedef pthread_t mythread; typedef
183 mythread_create(mythread *thread, void *(*func)(void *arg), void *arg) in mythread_create()
198 mythread_join(mythread thread) in mythread_join()
370 typedef HANDLE mythread; typedef
414 mythread_create(mythread *thread, in mythread_create()
426 mythread_join(mythread thread) in mythread_join()
/freebsd/sys/dev/ocs_fc/
H A Docs_unsol.h40 extern int32_t ocs_unsol_rq_thread(ocs_thread_t *mythread);
H A Docs_unsol.c77 ocs_unsol_rq_thread(ocs_thread_t *mythread) in ocs_unsol_rq_thread() argument
79 ocs_xport_rq_thread_info_t *thread_data = mythread->arg; in ocs_unsol_rq_thread()
84 ocs_log_debug(ocs, "%s running\n", mythread->name); in ocs_unsol_rq_thread()
85 while (!ocs_thread_terminate_requested(mythread)) { in ocs_unsol_rq_thread()
102 ocs_log_debug(ocs, "%s exiting\n", mythread->name); in ocs_unsol_rq_thread()
H A Docs_os.c676 void *ocs_thread_get_arg(ocs_thread_t *mythread) in ocs_thread_get_arg() argument
678 return mythread->arg; in ocs_thread_get_arg()
H A Docs_os.h975 typedef int32_t (*ocs_thread_fctn)(ocs_thread_t *mythread);
1001 extern void *ocs_thread_get_arg(ocs_thread_t *mythread);
/freebsd/contrib/xz/src/liblzma/common/
H A Dstream_encoder_mt.c100 mythread thread_id;
H A Dstream_decoder_mt.c118 mythread thread_id;
/freebsd/contrib/xz/
H A DChangeLog614 mythread.h: Fix the build on Emscripten when threading is disabled
617 and mythread_sigmask() were omitted from mythread.h in the commit
627 Fixes: 81db3b889830 ("mythread.h: Disable signal functions in builds targeting Wasm + WASI.")
629 src/common/mythread.h | 3 ++-
7029 src/common/mythread.h | 2 +-
10677 src/common/mythread.h | 2 ++
10989 src/common/mythread.h | 3 -
13185 mythread.h: Make MYTHREAD_POSIX compatible with MinGW-w64's winpthreads.
13189 src/common/mythread.h | 23 ++++++++++++++++++++++-
14695 mythread.h: Fix typo error in Vista threads mythread_once().
[all …]