Searched refs:thread_name (Results 1 - 9 of 9) sorted by relevance
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_getname_np.c | 25 char thread_name[NAMELEN];
in main() local 29 rc = pthread_getname_np(pthread_self(), thread_name, NAMELEN-1);
in main() 32 rc = pthread_getname_np(pthread_self(), thread_name, NAMELEN);
in main() 34 if(strcmp(thread_name, default_name) != 0) perror("pthread name comparison failed");
in main() 42 rc = pthread_getname_np(thread, thread_name, (argc > 2) ? atoi(argv[1]) : NAMELEN);
in main() 44 if(strcmp(thread_name, set_thread_name) != 0) perror("pthread name comparison failed");
in main()
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
H A D | w32functions.h | 199 static void W32_SetThreadName(const DWORD thread_id, const char *thread_name) in W32_SetThreadName() argument 205 * @param thread_name name to set 207 void W32_SetThreadName(const DWORD thread_id, const char *thread_name);
|
/third_party/skia/third_party/externals/microhttpd/src/platform/ |
H A D | w32functions.c | 674 * @param thread_name name to set 676 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/pulseaudio/src/modules/raop/ |
H A D | raop-sink.c | 735 char *thread_name = NULL; in pa_raop_sink_new() local 930 thread_name = pa_sprintf_malloc("raop-sink-%s", server); in pa_raop_sink_new() 931 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_raop_sink_new() 935 pa_xfree(thread_name); in pa_raop_sink_new() 936 thread_name = NULL; in pa_raop_sink_new() 947 pa_xfree(thread_name); in pa_raop_sink_new()
|
/third_party/python/Lib/concurrent/futures/ |
H A D | thread.py | 192 thread_name = '%s_%d' % (self._thread_name_prefix or self, 194 t = threading.Thread(name=thread_name, target=_worker,
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast.c | 1173 char thread_name[16]; in thread_function() local 1175 snprintf(thread_name, sizeof thread_name, "llvmpipe-%u", task->thread_index); in thread_function() 1176 u_thread_setname(thread_name); in thread_function()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-sink.c | 2333 char *thread_name = NULL; in pa_alsa_sink_new() local 2786 thread_name = pa_sprintf_malloc("alsa-sink-%s", pa_strnull(pa_proplist_gets(u->sink->proplist, "alsa.id"))); in pa_alsa_sink_new() 2787 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_sink_new() 2791 pa_xfree(thread_name); in pa_alsa_sink_new() 2792 thread_name = NULL; in pa_alsa_sink_new() 2858 pa_xfree(thread_name); in pa_alsa_sink_new()
|
H A D | alsa-source.c | 2037 char *thread_name = NULL; in pa_alsa_source_new() local 2444 thread_name = pa_sprintf_malloc("alsa-source-%s", pa_strnull(pa_proplist_gets(u->source->proplist, "alsa.id"))); in pa_alsa_source_new() 2445 if (!(u->thread = pa_thread_new(thread_name, thread_func, u))) { in pa_alsa_source_new() 2449 pa_xfree(thread_name); in pa_alsa_source_new() 2450 thread_name = NULL; in pa_alsa_source_new() 2484 pa_xfree(thread_name); in pa_alsa_source_new()
|
/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 2105 static int decoder_start(Decoder *d, int (*fn)(void *), const char *thread_name, void* arg) in decoder_start() argument 2108 d->decoder_tid = SDL_CreateThread(fn, thread_name, arg); in decoder_start()
|
Completed in 20 milliseconds