/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/compat/ |
H A D | os2threads.h | 50 struct thread_arg { struct 57 struct thread_arg *thread_arg = arg; in thread_entry() argument 59 thread_arg->start_routine(thread_arg->arg); in thread_entry() 61 av_free(thread_arg); in thread_entry() 66 struct thread_arg *thread_arg; in pthread_create() local 68 thread_arg = av_mallocz(sizeof(struct thread_arg)); in pthread_create() 70 thread_arg->start_routine = start_routine; in pthread_create() 71 thread_arg->arg = arg; in pthread_create() 73 *thread = _beginthread(thread_entry, NULL, 256 * 1024, thread_arg); in pthread_create()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/compat/ |
H A D | os2threads.h | 50 struct thread_arg { struct 57 struct thread_arg *thread_arg = arg; in thread_entry() argument 59 thread_arg->start_routine(thread_arg->arg); in thread_entry() 61 av_free(thread_arg); in thread_entry() 66 struct thread_arg *thread_arg; in pthread_create() local 68 thread_arg = av_mallocz(sizeof(struct thread_arg)); in pthread_create() 70 thread_arg->start_routine = start_routine; in pthread_create() 71 thread_arg->arg = arg; in pthread_create() 73 *thread = _beginthread(thread_entry, NULL, 256 * 1024, thread_arg); in pthread_create()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/tests/ |
H A D | pp_thread.h | 44 void* thread_arg; member 50 void* thread_arg); 74 void* thread_arg) { in PP_CreateThread() argument 78 arg_wrapper->user_data = thread_arg; in PP_CreateThread() 94 thread->thread_func(thread->thread_arg); in PP_WindowsThreadFunction() 100 void* thread_arg) { in PP_CreateThread() argument 104 thread->thread_arg = thread_arg; in PP_CreateThread()
|
/dports/games/openlierox/OpenLieroX/src/breakpad/external/src/client/linux/handler/ |
H A D | exception_handler.cc | 252 const ThreadArgument *thread_arg = reinterpret_cast<ThreadArgument*>(arg); in ThreadEntry() local 253 return thread_arg->handler->DoDump(thread_arg->pid, thread_arg->context, in ThreadEntry() 254 thread_arg->context_size) == false; in ThreadEntry() 286 ThreadArgument thread_arg; in HandleSignal() local 287 thread_arg.handler = this; in HandleSignal() 288 thread_arg.pid = getpid(); in HandleSignal() 289 thread_arg.context = &context; in HandleSignal() 290 thread_arg.context_size = sizeof(context); in HandleSignal() 294 &thread_arg, NULL, NULL, NULL); in HandleSignal()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cpp | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 117 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_linux_test.cc | 76 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 77 thread_arg.terminate_thread = true; in TearDown() 91 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 111 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 112 thread_arg.reported_tid = -1; in SpawnTidReporter() 115 &thread_arg)); in SpawnTidReporter() 116 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 117 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() 118 &thread_arg.tid_reported_mutex); in SpawnTidReporter() 119 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() [all …]
|
/dports/devel/elfutils/elfutils-0.179/libdwfl/ |
H A D | linux-core-attach.c | 47 struct thread_arg struct 110 struct thread_arg *thread_arg; in core_next_thread() local 114 thread_arg = malloc (sizeof (*thread_arg)); in core_next_thread() 115 if (thread_arg == NULL) in core_next_thread() 120 thread_arg->core_arg = core_arg; in core_next_thread() 121 *thread_argp = thread_arg; in core_next_thread() 124 thread_arg = (struct thread_arg *) *thread_argp; in core_next_thread() 159 thread_arg->note_offset = offset; in core_next_thread() 163 free (thread_arg); in core_next_thread() 170 struct thread_arg *thread_arg = thread_arg_voidp; in core_set_initial_registers() local [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 49 struct thread_arg { struct 110 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() 146 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() 194 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() 259 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() 281 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER; in unit_test() 282 struct thread_arg waker_arg = THREAD_ARG_INITIALIZER; in unit_test() 285 struct thread_arg args[THREAD_MAX]; in unit_test()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 49 struct thread_arg { struct 110 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() 146 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() 194 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() 259 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() 281 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER; in unit_test() 282 struct thread_arg waker_arg = THREAD_ARG_INITIALIZER; in unit_test() 285 struct thread_arg args[THREAD_MAX]; in unit_test()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 49 struct thread_arg { struct 110 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() 146 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() 194 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() 259 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() 281 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER; in unit_test() 282 struct thread_arg waker_arg = THREAD_ARG_INITIALIZER; in unit_test() 285 struct thread_arg args[THREAD_MAX]; in unit_test()
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/watchdog/ |
H A D | wd_utils.c | 258 WdThreadInfo *thread_arg = palloc(sizeof(WdThreadInfo)); in watchdog_thread_create() local 260 thread_arg->arg = arg; in watchdog_thread_create() 261 thread_arg->start_routine = start_routine; in watchdog_thread_create() 262 return pthread_create(thread, attr, exec_func, thread_arg); in watchdog_thread_create() 268 WdThreadInfo *thread_arg = (WdThreadInfo *) arg; in exec_func() local 270 Assert(thread_arg != NULL); in exec_func() 271 return thread_arg->start_routine(thread_arg->arg); in exec_func()
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/watchdog/ |
H A D | wd_utils.c | 258 WdThreadInfo *thread_arg = palloc(sizeof(WdThreadInfo)); in watchdog_thread_create() local 260 thread_arg->arg = arg; in watchdog_thread_create() 261 thread_arg->start_routine = start_routine; in watchdog_thread_create() 262 return pthread_create(thread, attr, exec_func, thread_arg); in watchdog_thread_create() 268 WdThreadInfo *thread_arg = (WdThreadInfo *) arg; in exec_func() local 270 Assert(thread_arg != NULL); in exec_func() 271 return thread_arg->start_routine(thread_arg->arg); in exec_func()
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/watchdog/ |
H A D | wd_utils.c | 258 WdThreadInfo *thread_arg = palloc(sizeof(WdThreadInfo)); in watchdog_thread_create() local 260 thread_arg->arg = arg; in watchdog_thread_create() 261 thread_arg->start_routine = start_routine; in watchdog_thread_create() 262 return pthread_create(thread, attr, exec_func, thread_arg); in watchdog_thread_create() 268 WdThreadInfo *thread_arg = (WdThreadInfo *) arg; in exec_func() local 270 Assert(thread_arg != NULL); in exec_func() 271 return thread_arg->start_routine(thread_arg->arg); in exec_func()
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/watchdog/ |
H A D | wd_utils.c | 251 WdThreadInfo *thread_arg = palloc(sizeof(WdThreadInfo)); in watchdog_thread_create() local 253 thread_arg->arg = arg; in watchdog_thread_create() 254 thread_arg->start_routine = start_routine; in watchdog_thread_create() 255 return pthread_create(thread, attr, exec_func, thread_arg); in watchdog_thread_create() 261 WdThreadInfo *thread_arg = (WdThreadInfo *) arg; in exec_func() local 263 Assert(thread_arg != NULL); in exec_func() 264 return thread_arg->start_routine(thread_arg->arg); in exec_func()
|
/dports/audio/lmms/lmms-1.2.2/src/3rdparty/rpmalloc/rpmalloc/test/ |
H A D | thread.h | 8 struct thread_arg { struct 12 typedef struct thread_arg thread_arg; argument 15 thread_run(thread_arg* arg);
|