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

123456789

/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_detached3.c1 /* Invoke pthread_detach() with an invalid thread ID. */
15 pthread_t thread; local
17 pthread_create(&thread, NULL, thread_func, NULL);
18 pthread_join(thread, NULL);
20 /* Invoke pthread_detach() with the thread ID of a joined thread. */
21 pthread_detach(thread);
23 /* Invoke pthread_detach() with an invalid thread ID. */
24 pthread_detach(thread + 1);
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. */
/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/valgrind/main/none/tests/s390x/
H A Dex_clone.c13 pthread_t thread; variable
42 pthread_create(&thread, NULL, threadfunc, NULL);
57 pthread_join(thread, NULL);
/external/webkit/Source/WebCore/storage/
H A DLocalStorageTask.cpp46 LocalStorageTask::LocalStorageTask(Type type, LocalStorageThread* thread) argument
49 , m_thread(thread)
/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/linux-tools-perf/scripts/python/
H A Dsctop.py11 import os, sys, thread, time namespace
42 thread.start_new_thread(print_syscall_totals, (interval,))
/external/linux-tools-perf/util/
H A Dbuild-id.c28 struct thread *thread = perf_session__findnew(session, event->ip.pid); local
30 if (thread == NULL) {
36 thread__find_addr_map(thread, session, cpumode, MAP__FUNCTION,
49 struct thread *thread = perf_session__findnew(session, event->fork.tid); local
54 if (thread) {
55 rb_erase(&thread->rb_node, &session->threads);
57 thread__delete(thread);
H A Dthread.h14 struct thread { struct
29 void thread__delete(struct thread *self);
31 int thread__set_comm(struct thread *self, const char *comm);
32 int thread__comm_len(struct thread *self);
33 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid);
34 void thread__insert_map(struct thread *self, struct map *map);
35 int thread__fork(struct thread *self, struct thread *parent);
38 static inline struct map *thread__find_map(struct thread *self,
44 void thread__find_addr_map(struct thread *sel
[all...]
/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...]

Completed in 575 milliseconds

123456789