Home
last modified time | relevance | path

Searched refs:timer_thread (Results 1 – 25 of 223) sorted by relevance

123456789

/dports/security/gnome-keyring/gnome-keyring-40.0/pkcs11/gkm/
H A Dgkm-timer.c39 static GThread *timer_thread = NULL; variable
106 if (!timer_thread) { in gkm_timer_initialize()
108 timer_thread = g_thread_new ("timer", timer_thread_func, NULL); in gkm_timer_initialize()
109 if (timer_thread) { in gkm_timer_initialize()
140 g_assert (timer_thread); in gkm_timer_shutdown()
141 g_thread_join (timer_thread); in gkm_timer_shutdown()
142 timer_thread = NULL; in gkm_timer_shutdown()
/dports/devel/allegro5/allegro5-5.2.7.0/src/
H A Dtimernu.c58 static _AL_THREAD * volatile timer_thread = NULL; variable
166 if (timer_thread != NULL) { in shutdown_timers()
171 _al_thread_join(timer_thread); in shutdown_timers()
174 al_free(timer_thread); in shutdown_timers()
176 timer_thread = NULL; in shutdown_timers()
211 if (timer_thread == NULL) { in enable_timer()
213 timer_thread = al_malloc(sizeof(_AL_THREAD)); in enable_timer()
214 _al_thread_create(timer_thread, timer_thread_proc, NULL); in enable_timer()
/dports/devel/allegro/allegro-4.4.3.1/src/win/
H A Dwtimer.c87 static HANDLE timer_thread = NULL; /* dedicated timer thread */ variable
214 timer_thread = (void *)_beginthread(tim_win32_high_perf_thread, 0, 0); in tim_win32_high_perf_init()
217 SetThreadPriority(timer_thread, THREAD_PRIORITY_TIME_CRITICAL); in tim_win32_high_perf_init()
233 timer_thread = (void *)_beginthread(tim_win32_low_perf_thread, 0, 0); in tim_win32_low_perf_init()
236 SetThreadPriority(timer_thread, THREAD_PRIORITY_TIME_CRITICAL); in tim_win32_low_perf_init()
252 while (WaitForSingleObject(timer_thread, 100) == WAIT_TIMEOUT); in tim_win32_exit()
/dports/lang/ruby26/ruby-2.6.9/
H A Dthread_win32.c686 } timer_thread; variable
720 if (timer_thread.id == 0) { in rb_thread_create_timer_thread()
721 if (!timer_thread.lock) { in rb_thread_create_timer_thread()
726 w32_resume_thread(timer_thread.id); in rb_thread_create_timer_thread()
735 SetEvent(timer_thread.lock); in native_stop_timer_thread()
736 native_thread_join(timer_thread.id); in native_stop_timer_thread()
737 CloseHandle(timer_thread.lock); in native_stop_timer_thread()
738 timer_thread.lock = 0; in native_stop_timer_thread()
746 if (timer_thread.id) { in native_reset_timer_thread()
747 CloseHandle(timer_thread.id); in native_reset_timer_thread()
[all …]
/dports/multimedia/obs-studio/obs-studio-27.1.3/deps/libff/libff/
H A Dff-timer.c24 static void *timer_thread(void *opaque) in timer_thread() function
97 if (pthread_create(&timer->timer_thread, NULL, timer_thread, timer) != in ff_timer_init()
124 pthread_join(timer->timer_thread, &thread_result); in ff_timer_free()
/dports/www/firefox-esr/firefox-91.8.0/netwerk/sctp/src/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/usrsctp/usrsctplib/usrsctplib/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/www/firefox/firefox-99.0/netwerk/sctp/src/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/net/libusrsctp/usrsctp-0.9.5.0/usrsctplib/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/www/libdatachannel/libdatachannel-0.16.1/deps/usrsctp/usrsctplib/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/sctp/src/netinet/
H A Dsctp_callout.c228 rc = sctp_userspace_thread_create(&SCTP_BASE_VAR(timer_thread), user_sctp_timer_iterate); in sctp_start_timer_thread()
242 WaitForSingleObject(SCTP_BASE_VAR(timer_thread), INFINITE); in sctp_stop_timer_thread()
243 CloseHandle(SCTP_BASE_VAR(timer_thread)); in sctp_stop_timer_thread()
245 pthread_join(SCTP_BASE_VAR(timer_thread), NULL); in sctp_stop_timer_thread()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/opl/
H A Dopl_timer.c32 static SDL_Thread *timer_thread = NULL; variable
187 timer_thread = SDL_CreateThread(ThreadFunction, "OPL timer thread", NULL); in OPL_Timer_StartThread()
189 if (timer_thread == NULL) in OPL_Timer_StartThread()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/opl/
H A Dopl_timer.c32 static SDL_Thread *timer_thread = NULL; variable
187 timer_thread = SDL_CreateThread(ThreadFunction, "OPL timer thread", NULL); in OPL_Timer_StartThread()
189 if (timer_thread == NULL) in OPL_Timer_StartThread()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libusb/src/libusb/os/
H A Dwince_usb.c45 HANDLE timer_thread = NULL; variable
233 if (timer_thread == NULL) { in wince_init()
253 if (timer_thread) { in wince_init()
255 if (WAIT_OBJECT_0 != WaitForSingleObject(timer_thread, INFINITE)) { in wince_init()
260 CloseHandle(timer_thread); in wince_init()
261 timer_thread = NULL; in wince_init()
310 if (timer_thread) { in wince_exit()
312 if (WAIT_OBJECT_0 != WaitForSingleObject(timer_thread, INFINITE)) { in wince_exit()
314 TerminateThread(timer_thread, 1); in wince_exit()
316 CloseHandle(timer_thread); in wince_exit()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libusb/src/libusb/os/
H A Dwince_usb.c45 HANDLE timer_thread = NULL; variable
233 if (timer_thread == NULL) { in wince_init()
253 if (timer_thread) { in wince_init()
255 if (WAIT_OBJECT_0 != WaitForSingleObject(timer_thread, INFINITE)) { in wince_init()
260 CloseHandle(timer_thread); in wince_init()
261 timer_thread = NULL; in wince_init()
310 if (timer_thread) { in wince_exit()
312 if (WAIT_OBJECT_0 != WaitForSingleObject(timer_thread, INFINITE)) { in wince_exit()
314 TerminateThread(timer_thread, 1); in wince_exit()
316 CloseHandle(timer_thread); in wince_exit()
[all …]
/dports/devel/sobjectizer/sobjectizer-v.5.7.2.5/dev/so_5/stats/impl/
H A Dds_timer_thread_stats.cpp41 prefixes::timer_thread(), in distribute()
46 prefixes::timer_thread(), in distribute()
/dports/emulators/yuzu/yuzu-0b47f7a46/src/core/
H A Dcore_timing.cpp62 timer_thread = std::make_unique<std::thread>(ThreadEntry, std::ref(*this)); in Initialize()
71 if (timer_thread) { in Shutdown()
72 timer_thread->join(); in Shutdown()
75 timer_thread.reset(); in Shutdown()
89 if (timer_thread) { in SyncPause()
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/may-0.3.17/src/
H A Dscheduler.rs109 s.timer_thread.run(&timer_event_handler); in init_scheduler()
174 timer_thread: TimerThread, field
198 timer_thread: TimerThread::new(), in new()
265 self.timer_thread.add_timer(dur, co) in add_timer()
270 self.timer_thread.del_timer(handle); in del_timer()
/dports/x11/showmethekey/showmethekey-1.5.0/showmethekey-gtk/
H A Dsmtk-keys-emitter.c20 GThread *timer_thread; member
390 emitter->timer_thread = g_thread_try_new("timer", timer_function, emitter, error); in smtk_keys_emitter_start_async()
391 if (emitter->timer_thread == NULL) in smtk_keys_emitter_start_async()
430 if (emitter->timer_thread != NULL) { in smtk_keys_emitter_stop_async()
432 g_thread_join(emitter->timer_thread); in smtk_keys_emitter_stop_async()
433 emitter->timer_thread = NULL; in smtk_keys_emitter_stop_async()
/dports/multimedia/v4l_compat/webcamd-5.13.2.2/kernel/
H A Dlinux_timer.c31 static pthread_t timer_thread; variable
211 if (pthread_create(&timer_thread, NULL, timer_exec, NULL)) { in timer_init()
235 pthread_kill(timer_thread, SIGIO); in need_timer()
/dports/multimedia/libv4l/webcamd-5.13.2.2/kernel/
H A Dlinux_timer.c31 static pthread_t timer_thread; variable
211 if (pthread_create(&timer_thread, NULL, timer_exec, NULL)) { in timer_init()
235 pthread_kill(timer_thread, SIGIO); in need_timer()
/dports/multimedia/v4l-utils/webcamd-5.13.2.2/kernel/
H A Dlinux_timer.c31 static pthread_t timer_thread; variable
211 if (pthread_create(&timer_thread, NULL, timer_exec, NULL)) { in timer_init()
235 pthread_kill(timer_thread, SIGIO); in need_timer()
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/lib/
H A Dtimer_thread.cc63 static std::unique_ptr<std::thread> timer_thread; variable
78 timer_thread = std::make_unique<std::thread>(TimerThread); in Start()
103 timer_thread->join(); in Stop()
278 && (std::this_thread::get_id() == timer_thread->get_id())); in CurrentThreadIsTimerThread()
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/src/lib/
H A Dtimer_thread.cc62 static std::unique_ptr<std::thread> timer_thread; variable
77 timer_thread = std::make_unique<std::thread>(TimerThread); in Start()
102 timer_thread->join(); in Stop()
277 (std::this_thread::get_id() == timer_thread->get_id())); in CurrentThreadIsTimerThread()
/dports/sysutils/bareos19-server/bareos-Release-19.2.11/core/src/lib/
H A Dtimer_thread.cc62 static std::unique_ptr<std::thread> timer_thread; variable
77 timer_thread = std::make_unique<std::thread>(TimerThread); in Start()
102 timer_thread->join(); in Stop()
277 (std::this_thread::get_id() == timer_thread->get_id())); in CurrentThreadIsTimerThread()

123456789