Searched refs:thread (Results 1 - 25 of 346) sorted by relevance

1234567891011>>

/external/valgrind/main/none/tests/
H A Dpth_blockedsig.stdout.exp0 thread CHILD sending SIGUSR1 to thread MAIN
H A Dpth_once.stdout.exp2 identify_yourself: Hi, I'm a thread
3 identify_yourself: Hi, I'm a thread
4 identify_yourself: Hi, I'm a thread
5 identify_yourself: Hi, I'm a thread
6 identify_yourself: Hi, I'm a thread
7 identify_yourself: Hi, I'm a thread
8 identify_yourself: Hi, I'm a thread
9 identify_yourself: Hi, I'm a thread
10 identify_yourself: Hi, I'm a thread
11 identify_yourself: Hi, I'm a thread
[all...]
/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/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/
H A DSDL_systhread.h31 /* This function creates a thread, passing args to SDL_RunThread(),
32 saves a system-dependent thread id in thread->id, and returns 0
36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
41 /* This function does any necessary setup in the child thread */
44 /* This function waits for the thread to finish and frees any data
47 extern void SDL_SYS_WaitThread(SDL_Thread *thread);
49 /* This function kills the thread and returns */
50 extern void SDL_SYS_KillThread(SDL_Thread *thread);
[all...]
H A DSDL_thread.c24 /* System independent thread management routines for SDL */
33 (except the main thread)
56 they will no longer have access to any per-thread data.
69 /* Routines for manipulating the thread list */
70 static void SDL_AddThread(SDL_Thread *thread) argument
76 is only one thread running the first time this is called.
87 printf("Adding thread (%d already - %d max)\n",
101 SDL_Threads[SDL_numthreads++] = thread;
106 static void SDL_DelThread(SDL_Thread *thread) argument
115 if ( thread
212 SDL_Thread *thread; local
267 SDL_WaitThread(SDL_Thread *thread, int *status) argument
279 SDL_GetThreadID(SDL_Thread *thread) argument
291 SDL_KillThread(SDL_Thread *thread) argument
[all...]
/external/valgrind/main/drd/tests/
H A Dtc21_pthonce.stdout.exp2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
H A Dsem_as_mutex3.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
5 declared at sem_as_mutex.c:25, in frame #? of thread 1
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
H A Dsem_open3.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
5 declared at sem_open.c:25, in frame #? of thread 1
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
H A Dpth_create_glibc_2_0.stderr.exp2 The thread.
/external/valgrind/main/helgrind/tests/
H A Dtc21_pthonce.stdout.exp2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
/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...]
H A Dsimple_thread_unittest.cc56 // have all threads outstanding until we hit our expected thread pool size.
85 DelegateSimpleThread thread(&runner, "int_setter");
86 EXPECT_FALSE(thread.HasBeenStarted());
87 EXPECT_FALSE(thread.HasBeenJoined());
90 thread.Start();
91 EXPECT_TRUE(thread.HasBeenStarted());
92 EXPECT_FALSE(thread.HasBeenJoined());
94 thread.Join();
95 EXPECT_TRUE(thread.HasBeenStarted());
96 EXPECT_TRUE(thread
[all...]
/external/qemu/distrib/sdl-1.2.12/src/thread/amigaos/
H A DSDL_thread.c24 /* System independent thread management routines for SDL */
33 (except the main thread)
52 they will no longer have access to any per-thread data.
59 /* Routines for manipulating the thread list */
60 static void SDL_AddThread(SDL_Thread *thread) argument
68 is only one thread running the first time this is called.
79 printf("Adding thread (%d already - %d max)\n",
96 SDL_Threads[SDL_numthreads++] = thread;
101 static void SDL_DelThread(SDL_Thread *thread) argument
108 if ( thread
192 SDL_Thread *thread; local
247 SDL_WaitThread(SDL_Thread *thread, int *status) argument
259 SDL_GetThreadID(SDL_Thread *thread) argument
271 SDL_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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DLoadLocaleProviderTestHelper.java29 Thread thread = new Thread(this);
30 thread.setContextClassLoader(loader);
31 thread.start();
32 thread.join();
/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/kernel-headers/original/asm-arm/
H A Ddomain.h64 struct thread_info *thread = current_thread_info(); \
65 unsigned int domain = thread->cpu_domain; \
67 thread->cpu_domain = domain | domain_val(dom, type); \
68 set_domain(thread->cpu_domain); \
/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/webkit/Source/WebCore/workers/
H A DSharedWorkerContext.cpp52 SharedWorkerContext::SharedWorkerContext(const String& name, const KURL& url, const String& userAgent, SharedWorkerThread* thread) argument
53 : WorkerContext(url, userAgent, thread)
62 SharedWorkerThread* SharedWorkerContext::thread() function in class:WebCore::SharedWorkerContext
64 return static_cast<SharedWorkerThread*>(Base::thread());
/external/qemu/distrib/sdl-1.2.12/src/thread/epoc/
H A DSDL_systhread.cpp26 Epoc thread management routines for SDL
75 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
82 delete(((RThread*)(thread->handle)));
83 thread->handle = NULL;
84 SDL_SetError("Not enough resources to create thread");
88 thread->handle = rthread.Handle();
104 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
109 taker.Logon(status, thread->handle);
118 void SDL_SYS_KillThread(SDL_Thread *thread) argument
121 rthread.SetHandle(thread
[all...]
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/
H A DSDL_systhread.c24 /* OS/2 thread management routines for SDL */
46 // Call the thread function!
60 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) argument
65 SDL_SetError("Not enough memory to create thread");
71 // Also save the real parameters we have to pass to thread function
73 // Start the thread using the runtime library of calling app!
74 thread->threadid = thread->handle = (*pfnBeginThread)(threadfunc, NULL, 512*1024, pThreadParms);
75 if ((int)thread->threadid <= 0)
77 SDL_SetError("Not enough resources to create thread");
95 SDL_SYS_WaitThread(SDL_Thread *thread) argument
105 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/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 743 milliseconds

1234567891011>>