| /external/qemu/distrib/sdl-1.2.12/src/thread/beos/ |
| SDL_systhread.c | 24 /* BeOS thread management routines for SDL */ 62 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 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) [all...] |
| /dalvik/vm/native/ |
| java_lang_VMThread.cpp | 25 * static void create(Thread t, long stacksize) 27 * This is eventually called as a result of Thread.start(). 42 * static Thread currentThread() 55 * Gets the Thread status. Result is in VM terms, has to be mapped to 56 * Thread.State by interpreted code. 61 Thread* thread; local 65 thread = dvmGetThreadFromThreadObject(thisPtr); 66 if (thread != NULL) 67 result = thread->status 85 Thread* thread; local 108 Thread* thread; local 146 Thread* thread; local 170 Thread* thread; local 200 Thread* thread; local [all...] |
| /external/chromium/base/threading/ |
| simple_thread_unittest.cc | 56 // 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.HasBeenJoined()) [all...] |
| /external/qemu/distrib/sdl-1.2.12/src/thread/epoc/ |
| SDL_systhread.cpp | 26 Epoc thread management routines for SDL 75 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 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) 109 taker.Logon(status, thread->handle); 118 void SDL_SYS_KillThread(SDL_Thread *thread) 121 rthread.SetHandle(thread->handle) [all...] |
| /external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
| SDL_systhread.c | 24 /* 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) 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"); [all...] |
| /external/qemu/distrib/sdl-1.2.12/src/thread/pth/ |
| SDL_systhread.c | 50 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 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) 96 pth_join(thread->handle, NULL); 99 void SDL_SYS_KillThread(SDL_Thread *thread) 101 pth_cancel(thread->handle) [all...] |
| /external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
| SDL_systhread.c | 38 /* RISC OS needs to know the main thread for 41 Uint32 riscos_main_thread = 0; /* Thread running events */ 52 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 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) 107 pthread_join(thread->handle, 0) [all...] |
| /external/valgrind/main/drd/tests/ |
| pth_create_glibc_2_0.stderr.exp | 2 The thread.
|
| boost_thread.cpp | 2 // use the boost::thread, boost::mutex and boost::condition classes. 5 #include <boost/thread/condition.hpp> 6 #include <boost/thread/mutex.hpp> 7 #include <boost/thread/thread.hpp> 17 std::cerr << "Thread 2.\n"; 25 std::cerr << "Thread 1.\n"; 27 boost::thread t(thread_func);
|
| fp_race.stderr.exp | 2 Conflicting load by thread 1 at 0x........ size 8 5 declared at fp_race.c:24, 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) 11 Conflicting store by thread 1 at 0x........ size 8 14 declared at fp_race.c:24, in frame #? of thread 1 15 Other segment start (thread 2) 16 (thread finished, call stack no longer available [all...] |
| hg04_race.stderr.exp | 2 Thread 3: 3 Conflicting load by thread 3 at 0x........ size 4 7 declared at hg04_race.c:6, in frame #? of thread 2 8 Other segment start (thread 2) 9 (thread finished, call stack no longer available) 10 Other segment end (thread 2) 11 (thread finished, call stack no longer available) 13 Conflicting store by thread 3 at 0x........ size 4 17 declared at hg04_race.c:6, in frame #? of thread 2 18 Other segment start (thread 2 [all...] |
| hg05_race2.stderr.exp | 2 Thread 3: 3 Conflicting load by thread 3 at 0x........ size 4 7 declared at hg05_race2.c:24, in frame #? of thread 1 8 Other segment start (thread 2) 9 (thread finished, call stack no longer available) 10 Other segment end (thread 2) 11 (thread finished, call stack no longer available) 13 Conflicting store by thread 3 at 0x........ size 4 17 declared at hg05_race2.c:24, in frame #? of thread 1 18 Other segment start (thread 2 [all...] |
| sem_as_mutex.stderr.exp | 2 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) 11 Conflicting store by thread 1 at 0x........ size 8 14 declared at sem_as_mutex.c:25, in frame #? of thread 1 15 Other segment start (thread 2) 16 (thread finished, call stack no longer available [all...] |
| sem_open.stderr.exp | 2 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) 11 Conflicting store by thread 1 at 0x........ size 8 14 declared at sem_open.c:25, in frame #? of thread 1 15 Other segment start (thread 2) 16 (thread finished, call stack no longer available [all...] |
| /frameworks/base/core/java/com/android/internal/view/ |
| WindowManagerPolicyThread.java | 22 * Static storage of the thread running the window manager policy, to 26 static Thread mThread; 29 public static void set(Thread thread, Looper looper) { 30 mThread = thread; 34 public static Thread getThread() {
|
| /external/qemu/distrib/sdl-1.2.12/src/thread/irix/ |
| SDL_systhread.c | 24 /* IRIX thread management routines for SDL */ 42 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 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) 76 waitpid(thread->handle, NULL, 0); 81 void SDL_KillThread(SDL_Thread *thread) 83 kill(thread->handle, SIGKILL);
|
| /external/webkit/Source/WebKit/chromium/tests/ |
| CCThreadTest.cpp | 53 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/qemu/distrib/sdl-1.2.12/src/thread/win32/ |
| SDL_systhread.c | 24 /* Win32 thread management routines for SDL */ 73 // Call the thread function! 89 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) 92 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) 111 // Also save the real parameters we have to pass to thread function 115 thread->handle = (SYS_ThreadHandle) pfnBeginThread(NULL, 0, RunThread, 118 thread->handle = CreateThread(NULL, 0, RunThread, pThreadParms, 0, &threadid); 120 if (thread->handle == NULL) { 121 SDL_SetError("Not enough resources to create thread"); 137 void SDL_SYS_WaitThread(SDL_Thread *thread) [all...] |
| /development/tools/axl/ |
| chewie.py | 52 # thread, queued, opened, send, sent, reading, read, uri, server, y 92 thread, action = x[1], x[2] 97 # save opened time and server for this thread, so we can stuff it in l8r 98 time, thread, host = x[0], x[1], x[4] 99 opened[thread] = [time, host, connectionCount] 102 time, thread, url = x[0], x[1], x[3] 103 opentime, host, connection = opened[thread] 105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection] 106 active[thread].append(record) 108 time, thread = x[0], x[1 [all...] |
| /external/qemu/memcheck/ |
| memcheck_proc_management.c | 24 /* 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 descriptor. After tha 177 ThreadDesc* thread; local 210 ThreadDesc* thread; local 231 const ThreadDesc* thread = get_thread_from_tid(tid); local 352 ThreadDesc* thread = get_current_thread(); local 422 ThreadDesc* thread = get_current_thread(); local 583 ThreadDesc* thread = get_current_thread(); local [all...] |
| /dalvik/vm/ |
| Ddm.cpp | 42 Thread* self = dvmThreadSelf(); 164 Thread* self = dvmThreadSelf(); 167 LOGE("ERROR: DDM broadcast with thread status=%d", self->status); 218 * Turn thread notification on or off. 223 * We lock the thread list to avoid sending duplicate events or missing 224 * a thread change. We should be okay holding this lock while sending 225 * the messages out. (We have to hold it while accessing a live thread.) 231 Thread* thread; local 232 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) 366 Thread* thread; local 429 Thread* thread; local [all...] |
| /external/nist-sip/java/gov/nist/core/ |
| ThreadAuditor.java | 6 * Thread Auditor class: 15 * the thread can periodically ping the auditor. 25 private Map<Thread,ThreadHandle> threadHandles = new HashMap<Thread,ThreadHandle>(); 32 /// Set to true when the thread pings, periodically reset to false by the auditor 35 /// Thread being monitored 36 private Thread thread; field in class:ThreadAuditor.ThreadHandle 38 /// Thread auditor monitoring this thread 142 Thread thread = threadHandle.getThread(); local [all...] |
| /external/webkit/Source/WebCore/workers/ |
| DedicatedWorkerContext.h | 46 static PassRefPtr<DedicatedWorkerContext> create(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread) 48 return adoptRef(new DedicatedWorkerContext(url, userAgent, thread)); 65 DedicatedWorkerThread* thread();
|
| SharedWorkerContext.h | 46 static PassRefPtr<SharedWorkerContext> create(const String& name, const KURL& url, const String& userAgent, SharedWorkerThread* thread) 48 return adoptRef(new SharedWorkerContext(name, url, userAgent, thread)); 61 SharedWorkerThread* thread();
|
| /external/bluetooth/glib/glib/ |
| gthread.c | 69 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 = data local 623 GRealThread* thread = data; local 754 GRealThread* thread = g_private_get (g_thread_specific_private); local 953 GRealThread *thread; local [all...] |