/external/lldb/test/api/multithreaded/ |
H A D | test_breakpoint_callback.cpp | 23 SBThread &thread, 21 BPCallback(void *baton, SBProcess &process, SBThread &thread, SBBreakpointLocation &location) argument
|
H A D | test_listener_event_process_state.cpp | 9 #include <thread> 18 // listener thread control 32 throw Exception("event is not valid in listener thread"); 39 // send each thread description 41 SBThread thread = process.GetThreadAtIndex(i); local 42 thread.GetDescription(description); 46 uint32_t num_frames = thread.GetNumFrames(); 48 const char* function_name = thread.GetFrameAtIndex(j).GetFunction().GetName(); 58 // check thread description 62 throw Exception("Expected at least one thread descriptio [all...] |
/external/ltrace/testsuite/ltrace.torture/ |
H A D | vfork-thread.c | 40 pthread_t thread; local 41 pthread_create (&thread, NULL, &routine, NULL); 48 pthread_join (thread, NULL);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/ |
H A D | SDL_systhread.c | 24 /* 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.15/src/thread/irix/ |
H A D | SDL_systhread.c | 24 /* 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.15/src/thread/pth/ |
H A D | SDL_systhread.c | 50 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.15/src/thread/pthread/ |
H A D | SDL_systhread.c | 38 /* 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.15/src/thread/riscos/ |
H A D | SDL_systhread.c | 31 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/qemu/distrib/sdl-1.2.15/test/ |
H A D | testhread.c | 22 printf("Started thread %s: My thread id is %u\n", 42 SDL_Thread *thread; local 51 thread = SDL_CreateThread(ThreadFunc, "#1"); 52 if ( thread == NULL ) { 53 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError()); 57 printf("Waiting for thread #1\n"); 59 SDL_WaitThread(thread, NULL); 62 thread = SDL_CreateThread(ThreadFunc, "#2"); 63 if ( thread [all...] |
/external/qemu/include/qemu/ |
H A D | thread-posix.h | 33 pthread_t thread; member in struct:QemuThread
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowHandlerThread.java | 18 private HandlerThread thread; field in class:ShadowHandlerThread 41 if (!thread.isAlive()) { 45 // If the thread has been started, wait until the looper has been created. 47 while (thread.isAlive() && looper == null) { 73 prepared.invoke(thread);
|
/external/valgrind/main/drd/tests/ |
H A D | free_is_write.c | 42 pthread_t thread[THREAD_COUNT]; local 47 result = pthread_create(&thread[i], 0, thread_func, 0); 57 pthread_join(thread[i], 0);
|
H A D | pth_barrier_thr_cr.c | 3 * pthread_barrier_wait() call is invoked by another thread. This is the only 18 static void* thread(void* arg) function 40 res = pthread_create(&tid[i], NULL, thread, NULL);
|
H A D | pth_detached_sem.c | 4 * 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]);
|
H A D | std_string.cpp | 2 * Test program that uses std::string object from more than one thread and 48 pthread_t thread[2]; local 50 for (int i = 0; i < sizeof(thread)/sizeof(thread[0]); i++) { 51 int ret = pthread_create(&thread[i], NULL, &fillTable, NULL); 53 fprintf(stderr, "Failed to create thread %d: %d\n", i, ret); 58 for (int i = 0; i < sizeof(thread)/sizeof(thread[0]); i++) { 59 int ret = pthread_join(thread[i], NULL); 61 fprintf(stderr, "Failed to join thread [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
H A D | MonitorContendedEnterAndEnteredDebuggee.java | 31 BlockedThread thread; field in class:MonitorContendedEnterAndEnteredDebuggee 34 thread = new BlockedThread(logWriter,TESTED_THREAD); 37 logWriter.println("--> Main thread : started"); 44 logWriter.println("main thread: start tested thread"); 45 thread.start(); 47 // wait and hold the lock until the second thread blocks 48 while (!thread.getState().equals(Thread.State.valueOf("BLOCKED"))){ 50 logWriter.println("main thread: Waiting for second thread t [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | browser_thread_model_worker.cc | 17 BrowserThread::ID thread, syncer::ModelSafeGroup group, 20 thread_(thread), group_(group) { 27 DLOG(WARNING) << "Already on thread " << thread_; 37 DLOG(WARNING) << "Failed to post task to thread " << thread_; 16 BrowserThreadModelWorker( BrowserThread::ID thread, syncer::ModelSafeGroup group, syncer::WorkerLoopDestructionObserver* observer) argument
|
/external/chromium_org/content/child/ |
H A D | child_process.cc | 17 #include "base/threading/thread.h" 46 // We can't recover from failing to start the IO thread. 64 // Kill the main thread object before nulling child_process, since 79 void ChildProcess::set_main_thread(ChildThread* thread) { argument 80 main_thread_.reset(thread);
|
/external/chromium_org/content/public/renderer/ |
H A D | platform_event_observer.h | 55 // |thread| is null, it will not register. 56 explicit PlatformEventObserver(RenderThread* thread) argument 59 if (thread) 60 thread->AddObserver(this);
|
/external/chromium_org/content/renderer/device_sensors/ |
H A D | device_light_event_pump.cc | 18 DeviceLightEventPump::DeviceLightEventPump(RenderThread* thread) argument 19 : DeviceSensorEventPump<blink::WebDeviceLightListener>(thread),
|
/external/chromium_org/content/renderer/ |
H A D | render_thread_impl_browsertest.cc | 32 void CheckRenderThreadInputHandlerManager(RenderThreadImpl* thread) { argument 33 ASSERT_TRUE(thread->input_handler_manager()); 36 // Check that InputHandlerManager outlives compositor thread because it uses 65 RenderThreadImpl* thread = new RenderThreadImpl(channel_id); local 66 thread->EnsureWebKitInitialized(); 68 ASSERT_TRUE(thread->input_handler_manager()); 70 thread->compositor_message_loop_proxy()->PostTask( 72 base::Bind(&CheckRenderThreadInputHandlerManager, thread)); 104 RenderThreadImpl* thread = new RenderThreadImpl(channel_id); local 105 thread [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | pp_thread.h | 18 #error No thread library detected. 48 PP_INLINE bool PP_CreateThread(PP_Thread* thread, 51 PP_INLINE void PP_JoinThread(PP_Thread thread); 54 /* Because POSIX thread functions return void* and Windows thread functions do 55 * not, we make PPAPI thread functions have the least capability (no returns). 72 PP_INLINE bool PP_CreateThread(PP_Thread* thread, argument 79 return (pthread_create(thread, 85 PP_INLINE void PP_JoinThread(PP_Thread thread) { argument 87 pthread_join(thread, 93 PP_Thread* thread = reinterpret_cast<PP_Thread*>(param); local 98 PP_CreateThread(PP_Thread* thread, PP_ThreadFunction function, void* thread_arg) argument 115 PP_JoinThread(PP_Thread thread) argument [all...] |
/external/chromium_org/remoting/tools/ |
H A D | breakpad_tester_win.cc | 73 base::win::ScopedHandle thread; local 74 thread.Set(CreateRemoteThread(process.Get(), NULL, 0, NULL, NULL, 0, 76 if (!thread.IsValid()) { 77 PLOG(ERROR) << "Failed to create a remote thread in " << pid;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/call/ |
H A D | console.cc | 48 Console::Console(rtc::Thread *thread, CallClient *client) : argument 50 client_thread_(thread),
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/ |
H A D | main.cc | 36 #include "webrtc/base/thread.h" 40 CustomSocketServer(rtc::Thread* thread, GtkMainWnd* wnd) argument 41 : thread_(thread), wnd_(wnd), conductor_(NULL), client_(NULL) {} 51 // different thread. Alternatively we could look at merging the two loops 94 rtc::Thread* thread = rtc::Thread::Current(); local 95 CustomSocketServer socket_server(thread, &wnd); 96 thread->set_socketserver(&socket_server); 106 thread->Run(); 111 thread->set_socketserver(NULL);
|