Searched defs:thread (Results 76 - 100 of 534) sorted by relevance

1234567891011>>

/external/lldb/test/api/multithreaded/
H A Dtest_breakpoint_callback.cpp23 SBThread &thread,
21 BPCallback(void *baton, SBProcess &process, SBThread &thread, SBBreakpointLocation &location) argument
H A Dtest_listener_event_process_state.cpp9 #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 Dvfork-thread.c40 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 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.15/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.15/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.15/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.15/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/qemu/distrib/sdl-1.2.15/test/
H A Dtesthread.c22 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 Dthread-posix.h33 pthread_t thread; member in struct:QemuThread
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowHandlerThread.java18 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 Dfree_is_write.c42 pthread_t thread[THREAD_COUNT]; local
47 result = pthread_create(&thread[i], 0, thread_func, 0);
57 pthread_join(thread[i], 0);
H A Dpth_barrier_thr_cr.c3 * 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 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]);
H A Dstd_string.cpp2 * 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 DMonitorContendedEnterAndEnteredDebuggee.java31 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 Dbrowser_thread_model_worker.cc17 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 Dchild_process.cc17 #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 Dplatform_event_observer.h55 // |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 Ddevice_light_event_pump.cc18 DeviceLightEventPump::DeviceLightEventPump(RenderThread* thread) argument
19 : DeviceSensorEventPump<blink::WebDeviceLightListener>(thread),
/external/chromium_org/content/renderer/
H A Drender_thread_impl_browsertest.cc32 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 Dpp_thread.h18 #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 Dbreakpad_tester_win.cc73 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 Dconsole.cc48 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 Dmain.cc36 #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);

Completed in 531 milliseconds

1234567891011>>