Home
last modified time | relevance | path

Searched refs:current_thread (Results 1 – 25 of 32) sorted by relevance

12

/third_party/cef/patch/patches/
Dmessage_loop.patch9 +#include "base/task/current_thread.h"
32 diff --git base/task/current_thread.cc base/task/current_thread.cc
34 --- base/task/current_thread.cc
35 +++ base/task/current_thread.cc
45 diff --git base/task/current_thread.h base/task/current_thread.h
47 --- base/task/current_thread.h
48 +++ base/task/current_thread.h
/third_party/cef/tests/cefclient/browser/
Dutil_gtk.cc17 base::PlatformThreadId current_thread = base::PlatformThread::CurrentId(); in ScopedGdkThreadsEnter() local
18 take_lock_ = current_thread != locked_thread_; in ScopedGdkThreadsEnter()
22 locked_thread_ = current_thread; in ScopedGdkThreadsEnter()
Dmain_message_loop_multithreaded_gtk.cc24 base::PlatformThreadId current_thread = base::PlatformThread::CurrentId(); in lock_enter() local
25 CHECK(current_thread != g_global_lock_thread); in lock_enter()
28 g_global_lock_thread = current_thread; in lock_enter()
/third_party/pulseaudio/src/pulsecore/
Dthread-posix.c64 PA_STATIC_TLS_DECLARE(current_thread, thread_free_cb);
78 PA_STATIC_TLS_SET(current_thread, t); in internal_thread_func()
149 if ((t = PA_STATIC_TLS_GET(current_thread))) in pa_thread_self()
160 PA_STATIC_TLS_SET(current_thread, t); in pa_thread_self()
/third_party/python/Lib/
D_threading_local.py161 thread = current_thread()
168 thread = current_thread()
242 from threading import current_thread, RLock
Dthreading.py864 self._daemonic = current_thread().daemon
1085 if self is current_thread():
1423 def current_thread(): function
1444 return current_thread()
/third_party/python/Lib/idlelib/
Drpc.py113 print('Thread: %s' % threading.current_thread().name, file=erf)
133 self.sockthread = threading.current_thread()
156 s = self.location + " " + str(threading.current_thread().name)
229 if threading.current_thread() != self.sockthread:
239 if threading.current_thread() != self.sockthread:
308 if threading.current_thread() is self.sockthread:
/third_party/python/Lib/multiprocessing/
Dsynchronize.py168 if threading.current_thread().name != 'MainThread':
169 name += '|' + threading.current_thread().name
193 if threading.current_thread().name != 'MainThread':
194 name += '|' + threading.current_thread().name
Dmanagers.py243 threading.current_thread().name)
300 threading.current_thread().name)
313 threading.current_thread().name)
419 threading.current_thread().name = name
799 if threading.current_thread().name != 'MainThread':
800 name += '|' + threading.current_thread().name
813 threading.current_thread().name)
882 threading.current_thread().name)
Dpool.py508 thread = threading.current_thread()
526 thread = threading.current_thread()
572 thread = threading.current_thread()
705 if threading.current_thread() is not worker_handler:
716 if threading.current_thread() is not task_handler:
720 if threading.current_thread() is not result_handler:
/third_party/glib/glib/
Dgthread-win32.c435 HANDLE current_thread = GetCurrentThread (); in g_system_thread_get_scheduler_settings() local
436 scheduler_settings->thread_prio = GetThreadPriority (current_thread); in g_system_thread_get_scheduler_settings()
491 HANDLE current_thread = GetCurrentThread (); in g_system_thread_new() local
492 thread_prio = GetThreadPriority (current_thread); in g_system_thread_new()
/third_party/python/Lib/test/
Dtest_threading.py172 self.assertIsNotNone(threading.current_thread().ident)
174 ident.append(threading.current_thread().ident)
214 threading.current_thread()
587 self.assertEqual(main.ident, threading.current_thread().ident)
592 threading.current_thread().ident)
1244 current_thread = threading.current_thread()
1245 self.assertRaises(RuntimeError, current_thread.join);
/third_party/python/Lib/multiprocessing/dummy/
D__init__.py65 current_process = threading.current_thread
/third_party/mesa3d/src/gtest/src/
Dgtest-port.cc539 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
544 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
547 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
548 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/third_party/googletest/googletest/src/
Dgtest-port.cc544 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
549 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
552 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
553 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/third_party/python/Lib/asyncio/
Devents.py652 threading.current_thread() is threading.main_thread()):
657 % threading.current_thread().name)
Dproactor_events.py632 if threading.current_thread() is threading.main_thread():
680 if threading.current_thread() is threading.main_thread():
Dunix_events.py1427 if threading.current_thread() is threading.main_thread():
1441 threading.current_thread() is threading.main_thread()):
/third_party/cef/libcef/browser/native/
Dmenu_runner_mac.mm11 #include "base/task/current_thread.h"
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc664 int current_thread = 0; in ParallelWriteData() local
673 int start_row = shards[current_thread + x].first; in ParallelWriteData()
674 int end_row = shards[current_thread + x].second; in ParallelWriteData()
675 …thread_set[x] = std::thread(&ShardWriter::WriteByShard, this, current_thread + x, start_row, end_r… in ParallelWriteData()
683 current_thread += thread_num; in ParallelWriteData()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_bsd_addr.c169 thread_terminate(current_thread());
/third_party/python/Misc/NEWS.d/
D3.7.0a2.rst456 ``threading.current_thread()`` should not return a dummy thread at shutdown.
D3.6.4rc1.rst698 ``threading.current_thread()`` should not return a dummy thread at shutdown.
/third_party/python/Doc/faq/
Dlibrary.rst319 print('Worker', threading.current_thread(), end=' ')
323 print('Worker', threading.current_thread(), end=' ')
/third_party/python/Lib/logging/
D__init__.py332 self.threadName = threading.current_thread().name

12