Searched defs:thread (Results 1 - 25 of 144) sorted by relevance

123456

/external/qemu/audio/
H A Daudio_pt_int.h8 pthread_t thread; member in struct:audio_pt
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/
H A DSDL_systhread.c30 #include <kos/thread.h>
32 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
34 thread->handle = thd_create(SDL_RunThread,args);
35 if (thread->handle == NULL) {
36 SDL_SetError("Not enough resources to create thread");
52 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
54 thd_wait(thread->handle);
57 void SDL_SYS_KillThread(SDL_Thread *thread) argument
59 thd_destroy(thread->handle);
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/
H A DSDL_systhread.c29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
45 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
50 void SDL_SYS_KillThread(SDL_Thread *thread) argument
/external/qemu/
H A Dqemu-thread.h15 pthread_t thread; member in struct:QemuThread
36 void qemu_thread_create(QemuThread *thread,
39 void qemu_thread_signal(QemuThread *thread, int sig);
40 void qemu_thread_self(QemuThread *thread);
/external/valgrind/main/drd/tests/
H A Dpth_barrier_race.c22 static void* thread(void* arg) function
35 pthread_create(&tid, NULL, thread, NULL);
40 * happens after the created thread has returned from pthread_barrier_wait().
H A Dpth_cancel_locked.c1 /** Cancel a thread that holds a lock on a mutex. */
14 static void* thread(void* arg) function
18 /* Inform the main thread that s_mutex2 has been locked, and wait for pthread_cancel(). */
34 /* Create thread. */
36 pthread_create(&tid, 0, &thread, 0);
38 /* Wait until the created thread has locked s_mutex2. */
42 /* Cancel the created thread. */
45 /* Join the created thread. */
H A Dpth_detached_sem.c4 * in this test program the main thread uses a counting semaphore instead
61 // thread attributes.
64 pthread_t thread; local
65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]);
73 pthread_t thread; local
74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]);
/external/chromium/base/synchronization/
H A Dwaitable_event_unittest.cc95 PlatformThreadHandle thread; local
96 PlatformThread::Create(0, &signaler, &thread);
100 PlatformThread::Join(thread);
/external/chromium/chrome/browser/ui/webui/options/
H A Dadvanced_options_utils_win.cc14 #include "base/threading/thread.h"
55 base::Thread* thread = g_browser_process->file_thread(); local
56 DCHECK(thread);
57 thread->message_loop()->PostTask(FROM_HERE, new OpenConnectionDialogTask);
/external/chromium/third_party/libjingle/source/talk/examples/login/
H A Dlogin_main.cc31 #include "talk/base/thread.h"
44 // Start xmpp on a different thread
45 XmppThread thread; local
46 thread.Start();
54 thread.Login(xcs);
56 // Use main thread for console input
/external/clang/test/CodeGen/
H A D2003-11-27-ConstructorCast.c13 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
H A D2003-11-27-UnionCtorInitialization.c15 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
/external/v8/test/cctest/
H A Dtest-platform-tls.cc63 TestThread thread; local
64 thread.Start();
65 thread.Join();
/external/webkit/Source/WebCore/storage/
H A DLocalStorageTask.cpp46 LocalStorageTask::LocalStorageTask(Type type, LocalStorageThread* thread) argument
49 , m_thread(thread)
H A DDatabaseDetails.h65 ThreadIdentifier thread() const { return m_thread; } function in class:WebCore::DatabaseDetails
H A DLocalStorageThread.cpp60 void* LocalStorageThread::threadEntryPointCallback(void* thread) argument
62 return static_cast<LocalStorageThread*>(thread)->threadEntryPoint();
85 // Even in weird, exceptional cases, don't wait on a nonexistent thread to terminate.
/external/webkit/Source/WebKit/chromium/tests/
H A DCCThreadTest.cpp53 OwnPtr<CCThread> thread = CCThread::create(); local
56 thread->postTask(createCCThreadTask(&target, &PingPongUsingCondition::ping, &completion));
59 EXPECT_EQ(thread->threadID(), target.hitThreadID);
81 OwnPtr<CCThread> thread = CCThread::create(); local
84 thread->postTask(createCCThreadTask(&target, &PingPongTestUsingTasks::ping));
/external/chromium/base/threading/
H A Dplatform_thread_unittest.cc11 // Trivial tests that thread runs and doesn't crash on create and join ---------
30 TrivialThread thread; local
33 ASSERT_FALSE(thread.did_run());
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
36 ASSERT_TRUE(thread.did_run());
40 TrivialThread thread[10]; local
41 PlatformThreadHandle handle[arraysize(thread)];
43 for (size_t n = 0; n < arraysize(thread); n++)
44 ASSERT_FALSE(thread[n].did_run());
45 for (size_t n = 0; n < arraysize(thread);
78 FunctionTestThread thread; local
91 FunctionTestThread thread[10]; local
[all...]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dudpport.h48 static UDPPort* Create(talk_base::Thread* thread, argument
52 UDPPort* port = new UDPPort(thread, factory, network,
70 UDPPort(talk_base::Thread* thread, talk_base::PacketSocketFactory* factory,
/external/qemu/distrib/sdl-1.2.12/src/thread/beos/
H A DSDL_systhread.c24 /* BeOS thread management routines for SDL */
62 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
64 /* Create the thread and go! */
65 thread->handle=spawn_thread(RunThread, "SDL", B_NORMAL_PRIORITY, args);
66 if ( (thread->handle == B_NO_MORE_THREADS) ||
67 (thread->handle == B_NO_MEMORY) ) {
68 SDL_SetError("Not enough resources to create thread");
71 resume_thread(thread->handle);
77 /* Mask asynchronous signals for this thread */
86 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
93 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/thread/irix/
H A DSDL_systhread.c24 /* IRIX thread management routines for SDL */
42 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
44 /* Create the thread and go! */
46 SDL_SetError("Not enough resources to create thread");
57 /* Mask asynchronous signals for this thread */
72 void SDL_WaitThread(SDL_Thread *thread, int *status) argument
76 waitpid(thread->handle, NULL, 0);
81 void SDL_KillThread(SDL_Thread *thread) argument
83 kill(thread->handle, SIGKILL);
/external/qemu/distrib/sdl-1.2.12/src/thread/pth/
H A DSDL_systhread.c50 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
62 /* Create the thread and go! */
63 thread->handle = pth_spawn(type, RunThread, args);
64 if ( thread->handle == NULL ) {
65 SDL_SetError("Not enough resources to create thread");
77 /* Mask asynchronous signals for this thread */
94 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
96 pth_join(thread->handle, NULL);
99 void SDL_SYS_KillThread(SDL_Thread *thread) argument
101 pth_cancel(thread
[all...]
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/
H A DSDL_systhread.c38 /* RISC OS needs to know the main thread for
52 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
56 /* Set the thread attributes */
63 /* Create the thread and go! */
64 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) {
65 SDL_SetError("Not enough resources to create thread");
84 /* Mask asynchronous signals for this thread */
105 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
107 pthread_join(thread->handle, 0);
110 void SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/
H A DSDL_systhread.c31 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
47 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
52 void SDL_SYS_KillThread(SDL_Thread *thread) argument
79 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
83 /* Set the thread attributes */
90 /* Create the thread and go! */
91 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) {
92 SDL_SetError("Not enough resources to create thread");
110 /* Mask asynchronous signals for this thread */
130 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
135 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/webkit/Source/WebCore/workers/
H A DDedicatedWorkerContext.cpp44 DedicatedWorkerContext::DedicatedWorkerContext(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread) argument
45 : WorkerContext(url, userAgent, thread)
69 thread()->workerObjectProxy().postMessageToWorkerObject(message, channels.release());
75 thread()->workerObjectProxy().reportPendingActivity(hasPendingActivity());
78 DedicatedWorkerThread* DedicatedWorkerContext::thread() function in class:WebCore::DedicatedWorkerContext
80 return static_cast<DedicatedWorkerThread*>(Base::thread());

Completed in 1649 milliseconds

123456