Searched defs:thread_id (Results 1 - 25 of 86) sorted by relevance

1234

/external/compiler-rt/test/asan/TestCases/
H A Ddebug_stacks.cc30 int thread_id; local
31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id);
36 fprintf(stderr, "thread id = %d\n", thread_id);
44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id);
49 fprintf(stderr, "thread id = %d\n", thread_id);
/external/compiler-rt/test/lsan/TestCases/
H A Duse_registers.cc47 pthread_t thread_id; local
48 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
H A Duse_stacks_threaded.cc27 pthread_t thread_id; local
28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
H A Dcleanup_in_tsd_destructor.c37 pthread_t thread_id; local
38 res = pthread_create(&thread_id, 0, thread_func, 0);
40 res = pthread_join(thread_id, 0);
H A Ddisabler_in_tsd_destructor.c33 pthread_t thread_id; local
34 res = pthread_create(&thread_id, 0, thread_func, 0);
36 res = pthread_join(thread_id, 0);
H A Dleak_check_before_thread_started.cc24 pthread_t thread_id; local
34 int res = pthread_create(&thread_id, &attr, func, arg);
/external/valgrind/helgrind/tests/
H A Dtc03_re_excl.c25 pthread_t thread_id; local
30 pthread_create(&thread_id, 0, worker_thread, (void*)x);
36 pthread_join(thread_id, 0);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_testlib.cc48 pthread_t thread_id; local
49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
H A Dsanitizer_stoptheworld_test.cc74 pthread_t thread_id; local
77 pthread_create_result = pthread_create(&thread_id, NULL, IncrementerThread,
86 ASSERT_EQ(0, pthread_join(thread_id, NULL));
/external/ltp/lib/
H A Dsafe_pthread.c25 pthread_t *thread_id, const pthread_attr_t *attr,
30 rval = pthread_create(thread_id, attr, thread_fn, arg);
34 "pthread_create(%p,%p,%p,%p) failed: %s", thread_id,
42 pthread_t thread_id, void **retval)
46 rval = pthread_join(thread_id, retval);
24 safe_pthread_create(const char *file, const int lineno, pthread_t *thread_id, const pthread_attr_t *attr, void *(*thread_fn)(void *), void *arg) argument
41 safe_pthread_join(const char *file, const int lineno, pthread_t thread_id, void **retval) argument
/external/mesa3d/src/gallium/tests/unit/
H A Dpipe_barrier_test.c52 int thread_id = *((int *) thread_data); local
54 printf("thread %d starting\n", thread_id);
55 os_time_sleep(thread_id * 1000 * 1000);
56 printf("thread %d before barrier\n", thread_id);
58 printf("thread %d exiting\n", thread_id);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld.h37 bool Contains(SuspendedThreadID thread_id) const {
39 if (thread_ids_[i] == thread_id)
44 void Append(SuspendedThreadID thread_id) { argument
45 thread_ids_.push_back(thread_id);
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper_unittest_helper.cc60 volatile pid_t thread_id = syscall(__NR_gettid); local
67 register volatile pid_t *thread_id_ptr asm(TID_PTR_REGISTER) = &thread_id;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
H A D2-3.c59 pthread_t thread_id; local
83 rc = pthread_create(&thread_id, &attr, thread, NULL);
89 rc = pthread_join(thread_id, NULL);
H A D2-4.c59 pthread_t thread_id; local
84 rc = pthread_create(&thread_id, &attr, thread, NULL);
90 rc = pthread_join(thread_id, NULL);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
H A D1-3.c56 pthread_t thread_id; local
86 rc = pthread_create(&thread_id, &attr, thread, NULL);
92 rc = pthread_join(thread_id, NULL);
H A D1-4.c59 pthread_t thread_id; local
89 rc = pthread_create(&thread_id, &attr, thread, NULL);
96 rc = pthread_join(thread_id, NULL);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ethread.h29 int thread_id; member in struct:EncWorkerData
/external/mesa3d/src/glx/apple/
H A Dapple_glx_context.h56 pthread_t thread_id; member in struct:apple_glx_context
/external/compiler-rt/lib/asan/
H A Dasan_debugging.cc84 static uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, argument
93 if (thread_id) *thread_id = chunk.AllocTid();
97 if (thread_id) *thread_id = chunk.FreeTid();
126 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument
127 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true);
131 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument
132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false);
/external/curl/docs/examples/
H A Dthreaded-ssl.c62 static unsigned long thread_id(void) function
80 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
/external/libchrome/sandbox/linux/services/
H A Dthread_helpers.cc124 // Should start the thread before calling thread_id().
129 const base::PlatformThreadId thread_id = thread->GetThreadId(); local
131 "self/task/" + base::IntToString(thread_id) + "/";
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DSimpleThreadPool.h79 return pt->thread_id;
86 void WorkerLoop(int thread_id) { argument
90 pt->thread_id = thread_id;
131 constexpr PerThread() : pool(NULL), thread_id(-1) { }
133 int thread_id; // Worker thread index in pool. member in struct:Eigen::SimpleThreadPoolTempl::PerThread
/external/google-breakpad/src/client/windows/crash_generation/
H A Dclient_info.cc41 DWORD* thread_id,
51 thread_id_(thread_id),
149 bool ClientInfo::GetClientThreadId(DWORD* thread_id) const {
153 thread_id,
154 sizeof(*thread_id),
159 return bytes_count == sizeof(*thread_id);
38 ClientInfo(CrashGenerationServer* crash_server, DWORD pid, MINIDUMP_TYPE dump_type, DWORD* thread_id, EXCEPTION_POINTERS** ex_info, MDRawAssertionInfo* assert_info, const CustomClientInfo& custom_client_info) argument
H A Dclient_info.h52 DWORD* thread_id,
64 DWORD* thread_id() const { return thread_id_; } function in class:google_breakpad::ClientInfo
92 bool GetClientThreadId(DWORD* thread_id) const;

Completed in 440 milliseconds

1234