HomeSort by relevance Sort by last modified time
    Searched refs:thread_id (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /external/valgrind/main/helgrind/tests/
tc03_re_excl.c 25 pthread_t thread_id; local
30 pthread_create(&thread_id, 0, worker_thread, (void*)x);
36 pthread_join(thread_id, 0);
  /external/qemu/distrib/sdl-1.2.15/src/thread/beos/
SDL_systhread_c.h 27 typedef thread_id SYS_ThreadHandle;
  /external/webkit/Tools/Scripts/webkitpy/common/system/
stack_utils.py 35 def log_thread_state(logger, name, thread_id, msg=''):
37 stack = _find_thread_stack(thread_id)
40 logger("%s (tid %d) %s" % (name, thread_id, msg))
45 def _find_thread_stack(thread_id):
49 if tid == thread_id:
stack_utils_unittest.py 37 thread_id, _ = sys._current_frames().items()[0]
38 return thread_id
43 thread_id = current_thread_id()
44 found_stack = stack_utils._find_thread_stack(thread_id)
57 thread_id = current_thread_id()
58 stack_utils.log_thread_state(logger, "test-thread", thread_id,
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stoptheworld.h 37 bool Contains(SuspendedThreadID thread_id) {
39 if (thread_ids_[i] == thread_id)
44 void Append(SuspendedThreadID thread_id) {
45 thread_ids_.push_back(thread_id);
sanitizer_stoptheworld_linux.cc 88 bool SuspendThread(SuspendedThreadID thread_id);
91 bool ThreadSuspender::SuspendThread(SuspendedThreadID thread_id) {
95 if (suspended_threads_list_.Contains(thread_id))
97 if (internal_ptrace(PTRACE_ATTACH, thread_id, NULL, NULL) != 0) {
100 Report("Could not attach to thread %d (errno %d).\n", thread_id, errno);
104 Report("Attached to thread %d.\n", thread_id);
108 HANDLE_EINTR(waitpid_status, internal_waitpid(thread_id, NULL, __WALL));
112 Report("Waiting on thread %d failed, detaching (errno %d).\n", thread_id,
114 internal_ptrace(PTRACE_DETACH, thread_id, NULL, NULL);
117 suspended_threads_list_.Append(thread_id);
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_stoptheworld_testlib.cc 47 pthread_t thread_id; local
48 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
  /external/chromium/chrome/browser/chromeos/login/
ownership_service.cc 107 BrowserThread::ID thread_id; local
108 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
109 thread_id = BrowserThread::UI;
114 thread_id,
122 BrowserThread::ID thread_id; local
123 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
124 thread_id = BrowserThread::UI;
129 thread_id,
138 BrowserThread::ID thread_id; local
139 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
    [all...]
owner_manager.cc 29 void OwnerManager::UpdateOwnerKey(const BrowserThread::ID thread_id,
37 thread_id, FROM_HERE,
81 void OwnerManager::Sign(const BrowserThread::ID thread_id,
90 thread_id, FROM_HERE,
106 thread_id, FROM_HERE,
113 void OwnerManager::Verify(const BrowserThread::ID thread_id,
122 thread_id, FROM_HERE,
136 thread_id, FROM_HERE,
owner_manager.h 55 void UpdateOwnerKey(const BrowserThread::ID thread_id,
70 // On success, calls d->OnKeyOpComplete() on |thread_id| with a
72 // On failure, calls d->OnKeyOpComplete() on |thread_id| with an appropriate
74 void Sign(const BrowserThread::ID thread_id,
82 // On success, calls d->OnKeyOpComplete() on |thread_id| with a
84 // On failure, calls d->OnKeyOpComplete() on |thread_id| with an appropriate
86 void Verify(const BrowserThread::ID thread_id,
ownership_service.h 121 const BrowserThread::ID thread_id,
126 const BrowserThread::ID thread_id,
130 const BrowserThread::ID thread_id,
  /external/chromium/chrome/browser/metrics/
thread_watcher.h 58 // This method starts performing health check on the given thread_id. It will
59 // create ThreadWatcher object for the given thread_id, thread_name,
64 // thread_id.
65 static void StartWatching(const BrowserThread::ID& thread_id,
70 // Return the thread_id of the thread being watched.
71 BrowserThread::ID thread_id() const { return thread_id_; } function in class:ThreadWatcher
92 // Construct a ThreadWatcher for the given thread_id. sleep_time_ is the
95 ThreadWatcher(const BrowserThread::ID& thread_id,
149 static void OnPingMessage(const BrowserThread::ID& thread_id,
156 // The thread_id of the thread being watched. Only one instance can exist fo
    [all...]
thread_watcher.cc 19 ThreadWatcher::ThreadWatcher(const BrowserThread::ID& thread_id,
23 : thread_id_(thread_id),
39 void ThreadWatcher::StartWatching(const BrowserThread::ID& thread_id,
53 thread_id, thread_name, sleep_time, unresponsive_time));
61 new ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time);
65 if (!ThreadWatcherList::IsRegistered(thread_id))
115 thread_id(),
181 void ThreadWatcher::OnPingMessage(const BrowserThread::ID& thread_id,
184 DCHECK(BrowserThread::CurrentlyOn(thread_id));
215 DCHECK(!global_->PreLockedFind(watcher->thread_id()));
    [all...]
  /bionic/libc/bionic/
ptrace.c 66 void ATTRIBUTES _thread_created_hook(pid_t thread_id)
  /external/chromium/chrome/browser/importer/
profile_import_process_host.h 35 // |thread_id| gives the thread where the client lives. The
38 BrowserThread::ID thread_id);
external_process_importer_client.cc 44 BrowserThread::ID thread_id; local
45 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id));
51 thread_id));
78 BrowserThread::ID thread_id) {
80 new ProfileImportProcessHost(this, thread_id);
  /external/chromium/chrome/browser/prefs/
pref_member.h 52 void MoveToThread(BrowserThread::ID thread_id);
92 void MoveToThread(BrowserThread::ID thread_id);
158 void MoveToThread(BrowserThread::ID thread_id) {
159 subtle::PrefMemberBase::MoveToThread(thread_id);
pref_member.cc 46 void PrefMemberBase::MoveToThread(BrowserThread::ID thread_id) {
51 internal()->MoveToThread(thread_id);
106 void PrefMemberBase::Internal::MoveToThread(BrowserThread::ID thread_id) {
108 thread_id_ = thread_id;
  /external/chromium/base/threading/
platform_thread_unittest.cc 67 PlatformThreadId thread_id() const { return thread_id_; } function in class:base::FunctionTestThread
85 EXPECT_NE(thread.thread_id(), main_thread_id);
102 EXPECT_NE(thread[n].thread_id(), main_thread_id);
  /external/bluetooth/bluedroid/gki/ulinux/
gki_int.h 74 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon2972
  /external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
gki_int.h 34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon10159
gki_ulinux.c 107 pthread_t thread_id = pthread_self(); local
109 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
110 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
113 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
118 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
257 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
258 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
265 ret = pthread_create( &gki_cb.os.thread_id[task_id],
276 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0
888 pthread_t thread_id = pthread_self( ); local
    [all...]
  /external/libnfc-nci/src/gki/ulinux/
gki_int.h 34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon10171
gki_ulinux.c 104 pthread_t thread_id = pthread_self(); local
106 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
107 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
110 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
115 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
254 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
255 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
262 ret = pthread_create( &gki_cb.os.thread_id[task_id],
273 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0
866 pthread_t thread_id = pthread_self( ); local
    [all...]
  /external/v8/test/cctest/
test-threads.cc 153 i::ThreadId thread_id = i::ThreadId::Current(); local
155 CHECK(!(*refs_)[i].Equals(thread_id));
157 CHECK(thread_id.IsValid());
158 (*refs_)[thread_no_] = thread_id;

Completed in 304 milliseconds

1 2 3 4 5 6