Home
last modified time | relevance | path

Searched refs:thread_handle (Results 1 – 25 of 1307) sorted by relevance

12345678910>>...53

/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/
H A Dthr-macosx.c63 if(thread_handle[id].running) { in YabThreadStart()
80 thread_handle[id].func = func; in YabThreadStart()
81 thread_handle[id].arg = arg; in YabThreadStart()
85 &thread_handle[id])) { in YabThreadStart()
92 thread_handle[id].running = 1; in YabThreadStart()
99 if(!thread_handle[id].running) in YabThreadWait()
108 thread_handle[id].thd = NULL; in YabThreadWait()
109 thread_handle[id].func = NULL; in YabThreadWait()
111 thread_handle[id].running = 0; in YabThreadWait()
127 pthread_cond_wait(&thread_handle[id].cond, &thread_handle[id].mutex);
[all …]
H A Dthr-rthreads.c44 if (thread_handle[id].running == 1) in YabThreadStart()
49 thread_handle[id].mutex = slock_new(); in YabThreadStart()
61 thread_handle[id].running = 1; in YabThreadStart()
68 if (thread_handle[id].running != 1) in YabThreadWait()
71 sthread_join(thread_handle[id].thd); in YabThreadWait()
73 thread_handle[id].running = 0; in YabThreadWait()
100 slock_lock(thread_handle[id].mutex); in YabThreadSleep()
101 scond_wait(thread_handle[id].cond, thread_handle[id].mutex); in YabThreadSleep()
111 if (thread_handle[id].running != 1) in YabThreadWake()
114 slock_lock(thread_handle[id].mutex); in YabThreadWake()
[all …]
H A Dthr-windows.c67 if (thread_handle[id].running) in YabThreadStart()
81 thread_handle[id].func = func; in YabThreadStart()
82 thread_handle[id].arg = arg; in YabThreadStart()
90 thread_handle[id].running = 1; in YabThreadStart()
97 if (!thread_handle[id].thd) in YabThreadWait()
102 thread_handle[id].thd = NULL; in YabThreadWait()
103 thread_handle[id].running = 0; in YabThreadWait()
104 if (thread_handle[id].cond) in YabThreadWait()
121 if (!thread_handle[id].thd) in YabThreadRemoteSleep()
129 if (!thread_handle[id].thd) in YabThreadWake()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/threading/
H A Dplatform_thread_win_unittest.cc28 PlatformThreadHandle::Handle thread_handle = in TEST() local
33 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
34 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_NORMAL); in TEST()
47 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
48 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_NORMAL); in TEST()
61 ::GetThreadPriority(thread_handle); in TEST()
71 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_VERY_LOW); in TEST()
78 EXPECT_EQ(::GetThreadPriority(thread_handle), in TEST()
87 EXPECT_EQ(::GetThreadPriority(thread_handle), in TEST()
97 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/threading/
H A Dplatform_thread_win_unittest.cc28 PlatformThreadHandle::Handle thread_handle = in TEST() local
33 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
34 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_NORMAL); in TEST()
47 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
48 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_NORMAL); in TEST()
61 ::GetThreadPriority(thread_handle); in TEST()
71 internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_VERY_LOW); in TEST()
78 EXPECT_EQ(::GetThreadPriority(thread_handle), in TEST()
87 EXPECT_EQ(::GetThreadPriority(thread_handle), in TEST()
97 EXPECT_EQ(::GetThreadPriority(thread_handle), THREAD_PRIORITY_NORMAL); in TEST()
[all …]
H A Dplatform_thread_win.cc151 void* thread_handle = in CreateThreadInternal() local
154 if (!thread_handle) { in CreateThreadInternal()
177 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal()
179 CloseHandle(thread_handle); in CreateThreadInternal()
273 DCHECK(thread_handle); in CreateWithPriority()
293 DCHECK(thread_handle.platform_handle()); in Join()
296 thread_id = ::GetThreadId(thread_handle.platform_handle()); in Join()
315 CloseHandle(thread_handle.platform_handle()); in Join()
320 CloseHandle(thread_handle.platform_handle()); in Detach()
330 PlatformThreadHandle::Handle thread_handle = in SetCurrentThreadPriorityImpl() local
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/databases/percona57-server/boost_1_59_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/databases/xtrabackup/boost_1_59_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/databases/percona57-client/boost_1_59_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/sfntly/cpp/src/test/
H A Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create() argument
33 assert(thread_handle); in Create()
35 if (!(*thread_handle)) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
44 assert(thread_handle); in Join()
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
47 CloseHandle(thread_handle); in Join()
67 assert(thread_handle);
79 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
80 assert(thread_handle);
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/sfntly/cpp/src/test/
H A Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create() argument
33 assert(thread_handle); in Create()
35 if (!(*thread_handle)) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
44 assert(thread_handle); in Join()
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
47 CloseHandle(thread_handle); in Join()
67 assert(thread_handle);
79 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
80 assert(thread_handle);
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/exception/test/
H A Dexception_ptr_test.cpp17 class thread_handle;
19 void join( thread_handle & t );
22 thread_handle class
24 thread_handle( thread_handle const & );
25 thread_handle & operator=( thread_handle const & );
46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle
52 friend void join( thread_handle & t );
55 boost::shared_ptr<thread_handle>
58 boost::shared_ptr<thread_handle> t( new thread_handle(f) ); in create_thread()
63 join( thread_handle & t ) in join()
[all …]
/dports/multimedia/svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/
H A DEbThreads.c52 EbHandle thread_handle = NULL; in eb_vp9_create_thread() local
56 thread_handle = (EbHandle) CreateThread( in eb_vp9_create_thread()
77 if (thread_handle != NULL) { in eb_vp9_create_thread()
88 free(thread_handle); in eb_vp9_create_thread()
91 if (thread_handle != NULL) { in eb_vp9_create_thread()
104 return thread_handle; in eb_vp9_create_thread()
111 EbHandle thread_handle) in eb_start_thread() argument
140 EbHandle thread_handle) in eb_stop_thread() argument
158 EbHandle thread_handle) in eb_vp9_destroy_thread() argument
166 pthread_join(*((pthread_t*) thread_handle), NULL); in eb_vp9_destroy_thread()
[all …]
/dports/multimedia/gstreamer1-plugins-svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/
H A DEbThreads.c52 EbHandle thread_handle = NULL; in eb_vp9_create_thread() local
56 thread_handle = (EbHandle) CreateThread( in eb_vp9_create_thread()
77 if (thread_handle != NULL) { in eb_vp9_create_thread()
88 free(thread_handle); in eb_vp9_create_thread()
91 if (thread_handle != NULL) { in eb_vp9_create_thread()
104 return thread_handle; in eb_vp9_create_thread()
111 EbHandle thread_handle) in eb_start_thread() argument
140 EbHandle thread_handle) in eb_stop_thread() argument
158 EbHandle thread_handle) in eb_vp9_destroy_thread() argument
166 pthread_join(*((pthread_t*) thread_handle), NULL); in eb_vp9_destroy_thread()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/base/threading/
H A Dplatform_thread_win.cc128 void* thread_handle; in CreateThreadInternal() local
138 thread_handle = in CreateThreadInternal()
142 if (!thread_handle) { in CreateThreadInternal()
148 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal()
150 CloseHandle(thread_handle); in CreateThreadInternal()
245 DCHECK(thread_handle); in CreateWithPriority()
265 DCHECK(thread_handle.platform_handle()); in Join()
287 CloseHandle(thread_handle.platform_handle()); in Join()
292 CloseHandle(thread_handle.platform_handle()); in Detach()
315 PlatformThreadHandle::Handle thread_handle = in SetCurrentThreadPriorityImpl() local
[all …]
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/base/
H A Dplatform_thread_win.cc44 PlatformThreadHandle* thread_handle) { in Create() argument
57 *thread_handle = in Create()
59 return *thread_handle != NULL; in Create()
64 PlatformThreadHandle thread_handle; in CreateNonJoinable() local
65 bool result = Create(stack_size, delegate, &thread_handle); in CreateNonJoinable()
66 CloseHandle(thread_handle); in CreateNonJoinable()
71 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
72 DCHECK(thread_handle); in Join()
76 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
79 CloseHandle(thread_handle); in Join()
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/base/
H A Dplatform_thread_win.cc44 PlatformThreadHandle* thread_handle) { in Create() argument
57 *thread_handle = in Create()
59 return *thread_handle != NULL; in Create()
64 PlatformThreadHandle thread_handle; in CreateNonJoinable() local
65 bool result = Create(stack_size, delegate, &thread_handle); in CreateNonJoinable()
66 CloseHandle(thread_handle); in CreateNonJoinable()
71 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
72 DCHECK(thread_handle); in Join()
76 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
79 CloseHandle(thread_handle); in Join()
/dports/www/firefox/firefox-99.0/ipc/chromium/src/base/
H A Dplatform_thread_win.cc44 PlatformThreadHandle* thread_handle) { in Create() argument
57 *thread_handle = in Create()
59 return *thread_handle != NULL; in Create()
64 PlatformThreadHandle thread_handle; in CreateNonJoinable() local
65 bool result = Create(stack_size, delegate, &thread_handle); in CreateNonJoinable()
66 CloseHandle(thread_handle); in CreateNonJoinable()
71 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
72 DCHECK(thread_handle); in Join()
76 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
79 CloseHandle(thread_handle); in Join()
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/base/
H A Dplatform_thread_win.cc44 PlatformThreadHandle* thread_handle) { in Create() argument
57 *thread_handle = in Create()
59 return *thread_handle != NULL; in Create()
64 PlatformThreadHandle thread_handle; in CreateNonJoinable() local
65 bool result = Create(stack_size, delegate, &thread_handle); in CreateNonJoinable()
66 CloseHandle(thread_handle); in CreateNonJoinable()
71 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
72 DCHECK(thread_handle); in Join()
76 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
79 CloseHandle(thread_handle); in Join()
/dports/x11/workrave/workrave-1.10.44/common/src/
H A DGlibThread.cc26 thread_handle = NULL; in Thread()
34 thread_handle = NULL; in Thread()
48 if (thread_handle == NULL) in start()
53 thread_handle = g_thread_try_new("workrave", in start()
58 thread_handle = g_thread_create(thread_handler, in start()
74 if (thread_handle != NULL) in wait()
76 g_thread_join(thread_handle); in wait()
77 thread_handle = NULL; in wait()
95 thread_handle = NULL; in internal_run()

12345678910>>...53