Home
last modified time | relevance | path

Searched refs:mythread (Results 1 – 5 of 5) 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/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);