Searched defs:thread (Results 126 - 150 of 213) sorted by relevance

123456789

/external/qemu/memcheck/
H A Dmemcheck_proc_management.c24 /* Current thread id.
26 * ID of the thread that becomes current. */
29 /* Current thread descriptor.
30 * This variable is used to cache current thread descriptor. This value gets
31 * initialized on "as needed" basis, when descriptor for the current thread
34 * NULL'ed, since another thread becomes current. */
42 * NULL'ed, since new thread becomes current, thus process switch may have
56 /* Creates and lists thread descriptor for a new thread.
57 * This routine will allocate and initialize new thread descripto
177 ThreadDesc* thread; local
210 ThreadDesc* thread; local
231 const ThreadDesc* thread = get_thread_from_tid(tid); local
285 threaddesc_free(ThreadDesc* thread) argument
352 ThreadDesc* thread = get_current_thread(); local
422 ThreadDesc* thread = get_current_thread(); local
583 ThreadDesc* thread = get_current_thread(); local
[all...]
/external/v8/src/
H A Druntime-profiler.cc418 // The profiler thread must still be waiting.
421 // undid the decrement done by the profiler thread. Increment again
442 void RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(Thread* thread) { argument
451 // The profiler thread is waiting. Wake it up. It must check for
455 thread->Join();
456 // The profiler thread is now stopped. Undo the increment in case it
/external/valgrind/main/helgrind/
H A Dhg_intercepts.c3 /*--- pthread intercepts for thread checking. ---*/
39 significant thread events.
232 static int pthread_create_WRK(pthread_t *thread, const pthread_attr_t *attr, argument
255 CALL_FN_W_WWWW(ret, fn, thread,attr,mythread_wrapper,&xargs[0]);
284 pthread_t *thread, const pthread_attr_t *attr,
286 return pthread_create_WRK(thread, attr, start, arg);
290 pthread_t *thread, const pthread_attr_t *attr,
292 return pthread_create_WRK(thread, attr, start, arg);
295 pthread_t *thread, const pthread_attr_t *attr,
311 static int pthread_join_WRK(pthread_t thread, voi argument
283 PTH_FUNC(int, pthreadZucreateZAZa, pthread_t *thread, const pthread_attr_t *attr, void *(*start) (void *), void *arg) argument
289 PTH_FUNC(int, pthreadZucreate, pthread_t *thread, const pthread_attr_t *attr, void *(*start) (void *), void *arg) argument
294 PTH_FUNC(int, pthreadZucreateZuZa, pthread_t *thread, const pthread_attr_t *attr, void *(*start) (void *), void *arg) argument
337 PTH_FUNC(int, pthreadZujoin, pthread_t thread, void** value_pointer) argument
342 PTH_FUNC(int, pthreadZujoinZa, pthread_t thread, void** value_pointer) argument
[all...]
/external/webkit/Source/WebCore/workers/
H A DDefaultSharedWorkerRepository.cpp65 void setThread(PassRefPtr<SharedWorkerThread> thread) { m_thread = thread; } argument
66 SharedWorkerThread* thread() { return m_thread.get(); } function in class:WebCore::SharedWorkerProxy
102 // The thread is freed when the proxy is destroyed, so we need to make sure that the proxy stays around until the SharedWorkerContext exits.
116 // We should be the sole owner of the SecurityOrigin, as we will free it on another thread.
219 // Stop the worker thread - the proxy will stay around until we get workerThreadExited() notification.
243 // Since close() stops the thread event loop, this should not ever get called while closing.
291 // Hand off the just-loaded code to the repository to start up the worker thread.
314 // Another loader may have already started up a thread for this proxy - if so, just send a connect to the pre-existing thread
316 RefPtr<SharedWorkerThread> thread = SharedWorkerThread::create(proxy.name(), proxy.url(), userAgent, workerScript, proxy, proxy); local
[all...]
H A DWorkerContext.cpp99 workerContext->thread()->workerReportingProxy().workerContextClosed();
105 WorkerContext::WorkerContext(const KURL& url, const String& userAgent, WorkerThread* thread) argument
109 , m_thread(thread)
120 ASSERT(currentThread() == thread()->threadID());
129 thread()->workerReportingProxy().workerContextDestroyed();
209 thread()->runLoop().postTask(task);
275 thread()->workerReportingProxy().postExceptionToWorkerObject(errorMessage, lineNumber, sourceURL);
280 thread()->workerReportingProxy().postConsoleMessageToWorkerObject(source, type, level, message, lineNumber, sourceURL);
325 return currentThread() == thread()->threadID();
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DWebUrlLoaderClient.cpp136 base::Thread* thread = ioThread(); local
137 if (thread) {
139 thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::appendBytesToUpload, data));
152 base::Thread* thread = ioThread(); local
153 if (thread)
154 thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::appendFileToUpload, filename));
173 base::Thread* thread = ioThread(); local
174 if (!thread) {
185 thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::start));
188 // Sometimes, a sync load can wait forever and lock up the WebCore thread,
271 base::Thread* thread = ioThread(); local
314 base::Thread* thread = ioThread(); local
322 base::Thread* thread = ioThread(); local
488 base::Thread* thread = ioThread(); local
[all...]
/external/bluetooth/glib/glib/
H A Dgthread.c69 GThread thread; member in struct:_GRealThread
139 /* We let the main thread (the one that calls g_thread_init) inherit
276 * if we're using the default thread implementation and it provides
501 GRealThread *thread; local
510 thread = g_thread_all_threads;
511 while (thread)
513 GArray *array = thread->private_data;
514 thread = thread->next;
545 GRealThread* thread local
623 GRealThread* thread = data; local
692 g_thread_join(GThread* thread) argument
735 g_thread_set_priority(GThread* thread, GThreadPriority priority) argument
754 GRealThread* thread = g_private_get (g_thread_specific_private); local
953 GRealThread *thread; local
[all...]
/external/bluetooth/glib/gthread/
H A Dgthread-win32.c4 * gthread.c: solaris thread system implementation
87 HANDLE thread; member in struct:_GThreadData
380 g_thread_set_priority_win32_impl (gpointer thread, GThreadPriority priority) argument
382 GThreadData *target = *(GThreadData **)thread;
387 win32_check_for_error (SetThreadPriority (target->thread,
392 g_thread_self_win32_impl (gpointer thread) argument
398 /* This should only happen for the main thread! */
403 &self->thread, 0, FALSE,
411 *(GThreadData **)thread = self;
456 win32_check_for_error (CloseHandle (self->thread));
488 g_thread_create_win32_impl(GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error) argument
535 g_thread_join_win32_impl(gpointer thread) argument
[all...]
/external/chromium/chrome/browser/chromeos/login/
H A Dcamera.cc25 #include "base/threading/thread.h"
131 Camera::Camera(Delegate* delegate, base::Thread* thread, bool mirrored) argument
133 thread_(thread),
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dport.h41 #include "talk/base/thread.h"
78 Port(talk_base::Thread* thread, const std::string& type,
83 // The thread on which this port performs its I/O.
84 talk_base::Thread* thread() { return thread_; } function in class:cricket::Port
H A Drelayserver.cc97 RelayServer::RelayServer(talk_base::Thread* thread) argument
98 : thread_(thread), log_bindings_(true) {
689 server_->thread()->PostDelayed(lifetime_, this, MSG_LIFETIME_TIMER);
694 server_->thread()->Clear(this);
761 server_->thread()->PostDelayed(lifetime_, this, MSG_LIFETIME_TIMER);
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.cc105 int pthread_create(void *thread, void *attr, void *(*start_routine)(void*),
331 INTERCEPTOR(int, pthread_create, void *thread, argument
337 return REAL(pthread_create)(thread, attr, asan_thread_start, t);
/external/dbus/bus/
H A Dselinux.c79 static void avc_stop_thread (void *thread);
210 * Create thread to notify the AVC of enforcing and policy reload
213 * @param run the thread run function
214 * @return pointer to the thread
224 _dbus_warn ("Failed to start AVC thread: %s\n", _dbus_strerror (rc));
230 /* Stop AVC netlink thread. */
232 avc_stop_thread (void *thread) argument
234 pthread_cancel (*(pthread_t *) thread);
/external/linux-tools-perf/
H A Dbuiltin-record.c693 int thread; local
709 for (thread = 0;
710 thread < evsel_list->threads->nr;
711 thread++)
712 ioctl(FD(pos, i, thread),
761 "record events on existing thread id"),
789 "per thread counts"),
H A Dbuiltin-top.c30 #include "util/thread.h"
958 pthread_t thread; local
983 if (pthread_create(&thread, NULL, (use_browser > 0 ? display_thread_tui :
985 printf("Could not create display thread.\n");
1029 "profile events on existing thread id"),
/external/linux-tools-perf/util/
H A Dsymbol.h132 struct thread *thread; member in struct:addr_location
/external/openssh/
H A Dauth-pam.c154 /* PAM thread has not exitted, privsep slave must have */
164 sigdie("PAM: authentication thread exited unexpectedly");
166 sigdie("PAM: authentication thread exited uncleanly");
178 pthread_create(sp_pthread_t *thread, const void *attr, argument
195 *thread = pid;
204 pthread_cancel(sp_pthread_t thread) argument
207 return (kill(thread, SIGTERM));
212 pthread_join(sp_pthread_t thread, void **value) argument
219 waitpid(thread, &status, 0);
338 * Conversation function for authentication thread
[all...]
/external/qemu/
H A Dposix-aio-compat.c114 static void thread_create(pthread_t *thread, pthread_attr_t *attr, argument
117 int ret = pthread_create(thread, attr, start_routine, arg);
/external/sonivox/jet_tools/JetCreator/
H A DJetCreator.py27 import thread namespace
959 """ Sets a flag to communicate playing state to the play thread """
1219 thread.start_new_thread(self.PlaySegs, ())
1281 """ These are screen updates called for from within the thread. Communication
/external/strace/
H A Dtime.c772 } thread; member in union:__anon11314::__anon11315
790 sev.un.thread.function,
791 sev.un.thread.attribute);
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low.c74 struct thread_info *thread = get_thread (inf); local
75 if (!VG_(lwpid_to_vgtid)(thread_to_gdb_id(thread))) {
77 image_ptid(thread_to_gdb_id(thread)));
78 remove_thread (thread);
115 dlog(2, "(known thread)" LOCAL_THREAD_TRACE);
122 /* Return nonzero if the given thread is still alive. */
493 an existing thread. Otherwise, we are still in the init phase.
494 (hack similar to main thread hack in valgrind_update_threads) */
515 "resume_info thread %ld leave_stopped %d step %d sig %d stepping %d\n",
516 resume_info->thread,
[all...]
/external/valgrind/main/coregrind/
H A Dpub_core_threadstate.h3 /*--- The thread state. pub_core_threadstate.h ---*/
36 // VG_(threads)[] data structure which holds all the important thread
70 VgSrc_ExitThread, /* just this thread is exiting */
98 /* Architecture-specific thread state */
124 /* OS-specific thread state. IMPORTANT: if you add fields to this,
130 Int lwpid; // PID of kernel task (Darwin: Mach thread)
131 Int threadgroup; // thread group id
148 // This thread's pthread
151 // Argument passed when thread started
154 // Synchronization between child thread an
247 Addr thread; member in struct:__anon12450::__anon12451::__anon12469
[all...]
/external/valgrind/main/drd/
H A Ddrd_pthread_intercepts.c8 This file is part of DRD, a thread error detector.
73 * Notes regarding thread creation:
74 * - sg_init() runs on the context of the created thread and copies the vector
75 * clock of the creator thread. This only works reliably if the creator
76 * thread waits until this copy has been performed.
78 * account that are involved in thread creation and for which the
79 * corresponding thread has not yet been created. So not waiting until the
80 * created thread has been started would make it possible that segments get
293 * Tell DRD whether 'tid' is a joinable thread or a detached thread
430 pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr, void* (*start)(void*), void* arg) argument
[all...]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
H A Drun_webkit_tests_unittest.py41 import thread namespace
/external/bluetooth/bluez/audio/
H A Dliba2dp.c127 pthread_t thread; member in struct:bluetooth_data
277 /* notify client that thread is ready for next command */
936 /* notify client that thread is ready for next command */
1143 err = pthread_create(&data->thread, &attr, a2dp_thread, data);
1145 /* If the thread create fails we must not wait */

Completed in 2593 milliseconds

123456789