Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 15 of 15) sorted by relevance

/third_party/musl/libc-test/src/functional/
Dpthread_getname_np.c25 char thread_name[NAMELEN]; in main() local
29 rc = pthread_getname_np(pthread_self(), thread_name, NAMELEN); in main()
31 if(strcmp(thread_name, default_name) != 0) perror("pthread name comparison failed"); in main()
39 rc = pthread_getname_np(thread, thread_name, (argc > 2) ? atoi(argv[1]) : NAMELEN); in main()
41 if(strcmp(thread_name, set_thread_name) != 0) perror("pthread name comparison failed"); in main()
/third_party/grpc/src/core/lib/iomgr/executor/
Dthreadpool.h58 virtual const char* thread_name() const = 0;
128 const char* thread_name() const override;
Dthreadpool.cc136 const char* ThreadPool::thread_name() const { return thd_name_; } in thread_name() function in grpc_core::ThreadPool
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Drunner.cc85 static void SetThreadName(const std::string& thread_name) { in SetThreadName() argument
86 zx::thread::self()->set_property(ZX_PROP_NAME, thread_name.c_str(), in SetThreadName()
87 thread_name.size()); in SetThreadName()
/third_party/skia/third_party/externals/microhttpd/src/include/
Dw32functions.h199 static void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument
207 void W32_SetThreadName(const DWORD thread_id, const char *thread_name);
/third_party/openh264/codec/common/src/
DWelsThreadLib.cpp197 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name) { in WelsThreadSetName() argument
250 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name) { in WelsThreadSetName() argument
252 pthread_setname_np (thread_name); in WelsThreadSetName()
255 pthread_setname_np (pthread_self(), thread_name); in WelsThreadSetName()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c701 char *thread_name = NULL; in pa_raop_sink_new() local
893 thread_name = pa_sprintf_malloc("raop-sink-%s", server); in pa_raop_sink_new()
894 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_raop_sink_new()
898 pa_xfree(thread_name); in pa_raop_sink_new()
899 thread_name = NULL; in pa_raop_sink_new()
910 pa_xfree(thread_name); in pa_raop_sink_new()
/third_party/skia/third_party/externals/microhttpd/src/platform/
Dw32functions.c676 void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument
689 if (NULL == thread_name) in W32_SetThreadName()
693 thread_info.name = thread_name; in W32_SetThreadName()
/third_party/gstreamer/gstreamer/gst/
Dgsttask.c292 gchar thread_name[17] = { 0, }; in gst_task_configure_name() local
298 if (!snprintf (thread_name, 17, "%s", GST_STR_NULL (name))) { in gst_task_configure_name()
301 GST_DEBUG_OBJECT (task, "Setting thread name to '%s'", thread_name); in gst_task_configure_name()
302 if (prctl (PR_SET_NAME, (unsigned long int) thread_name, 0, 0, 0)) in gst_task_configure_name()
/third_party/python/Lib/concurrent/futures/
Dthread.py192 thread_name = '%s_%d' % (self._thread_name_prefix or self,
194 t = threading.Thread(name=thread_name, target=_worker,
/third_party/openh264/codec/common/inc/
DWelsThreadLib.h137 WELS_THREAD_ERROR_CODE WelsThreadSetName (const char* thread_name);
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.c1198 char thread_name[16]; in thread_function() local
1201 snprintf(thread_name, sizeof thread_name, "llvmpipe-%u", task->thread_index); in thread_function()
1202 u_thread_setname(thread_name); in thread_function()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c1956 char *thread_name = NULL; in pa_alsa_source_new() local
2357thread_name = pa_sprintf_malloc("alsa-source-%s", pa_strnull(pa_proplist_gets(u->source->proplist,… in pa_alsa_source_new()
2358 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_source_new()
2362 pa_xfree(thread_name); in pa_alsa_source_new()
2363 thread_name = NULL; in pa_alsa_source_new()
2397 pa_xfree(thread_name); in pa_alsa_source_new()
Dalsa-sink.c2250 char *thread_name = NULL; in pa_alsa_sink_new() local
2678thread_name = pa_sprintf_malloc("alsa-sink-%s", pa_strnull(pa_proplist_gets(u->sink->proplist, "al… in pa_alsa_sink_new()
2679 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_sink_new()
2683 pa_xfree(thread_name); in pa_alsa_sink_new()
2684 thread_name = NULL; in pa_alsa_sink_new()
2750 pa_xfree(thread_name); in pa_alsa_sink_new()
/third_party/ffmpeg/fftools/
Dffplay.c2121 static int decoder_start(Decoder *d, int (*fn)(void *), const char *thread_name, void* arg) in decoder_start() argument
2124 d->decoder_tid = SDL_CreateThread(fn, thread_name, arg); in decoder_start()