Searched refs:thread (Results 151 - 175 of 1503) sorted by relevance

1234567891011>>

/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/valgrind/main/drd/tests/
H A Dboost_thread.cpp2 // 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>
27 boost::thread t(thread_func);
H A Dhg04_race.stderr.exp3 Conflicting load by thread 3 at 0x........ size 4
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
18 Other segment start (thread 2)
19 (thread finished, call stack no longer available)
20 Other segment end (thread 2)
21 (thread finishe
[all...]
H A Dhg05_race2.stderr.exp3 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)
19 (thread finishe
[all...]
H A Dtc21_pthonce.stderr.exp3 Conflicting load by thread 3 at 0x........ size 4
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
18 Other segment start (thread 2)
19 (thread finished, call stack no longer available)
20 Other segment end (thread 2)
21 (thread finishe
[all...]
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/libcxx/test/thread/futures/futures.unique_future/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.unique_future/Android.mk
19 test_name := thread/futures/futures.unique_future/default
23 test_name := thread/futures/futures.unique_future/move_ctor
27 test_name := thread/futures/futures.unique_future/dtor
31 test_name := thread/futures/futures.unique_future/wait_until
35 test_name := thread/futures/futures.unique_future/share
39 test_name := thread/futures/futures.unique_future/get
43 test_name := thread/futures/futures.unique_future/wait
47 test_name := thread/futures/futures.unique_future/move_assign
51 test_name := thread/future
[all...]
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
H A DSDL_systhread.cpp25 Epoc thread management routines for SDL
85 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
92 delete(((RThread*)(thread->handle)));
93 thread->handle = NULL;
94 SDL_SetError("Not enough resources to create thread");
98 thread->handle = rthread.Handle();
114 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
116 SDL_TRACE1("Close thread", thread);
118 const TInt err = t.Open(thread
140 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
H A DSDL_systhread.c24 /* Win32 thread management routines for SDL */
73 // Call the thread function!
99 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) argument
102 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
120 // Also save the real parameters we have to pass to thread function
125 thread->handle = (SYS_ThreadHandle)
130 thread->handle = CreateThread(NULL, 0, RunThreadViaCreateThread, pThreadParms, 0, &threadid);
132 if (thread->handle == NULL) {
133 SDL_SetError("Not enough resources to create thread");
149 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
159 SDL_SYS_KillThread(SDL_Thread *thread) argument
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dsync_parser.js50 var thread = this.importer.getOrCreatePseudoThread(event[1]);
52 if (thread.lastActiveTs !== undefined) {
53 var duration = ts - thread.lastActiveTs;
54 var value = thread.lastActiveValue;
60 thread.lastActiveTs, {},
62 thread.thread.sliceGroup.pushSlice(slice);
64 thread.lastActiveTs = ts;
65 thread.lastActiveValue = event[2];
80 var thread
[all...]
/external/libcxx/test/thread/futures/futures.promise/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.promise/Android.mk
19 test_name := thread/futures/futures.promise/default
23 test_name := thread/futures/futures.promise/set_rvalue_at_thread_exit
27 test_name := thread/futures/futures.promise/move_ctor
31 test_name := thread/futures/futures.promise/set_rvalue
35 test_name := thread/futures/futures.promise/set_lvalue_at_thread_exit
39 test_name := thread/futures/futures.promise/get_future
43 test_name := thread/futures/futures.promise/dtor
47 test_name := thread/futures/futures.promise/set_lvalue
51 test_name := thread/future
[all...]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprthread.h45 ** In general, a thread of a higher priority has a statistically better
47 ** NSPR uses multiple strategies to provide execution vehicles for thread
52 ** a single GLOBAL thread.
55 ** thread associated with a given GLOBAL thread. It is further assumed
59 ** Threads have a "system flag" which when set indicates the thread
61 ** process exits when the last user thread exits).
65 ** indicates whether a thread is permanently bound to a native OS thread.
66 ** An unbound thread compete
155 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread); variable
169 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread); variable
239 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread); variable
269 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread); variable
274 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread); variable
279 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread); variable
[all...]
/external/libcxx/test/thread/futures/futures.errors/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.errors/Android.mk
19 test_name := thread/futures/futures.errors/future_category
23 test_name := thread/futures/futures.errors/make_error_condition
27 test_name := thread/futures/futures.errors/equivalent_error_code_int
31 test_name := thread/futures/futures.errors/default_error_condition
35 test_name := thread/futures/futures.errors/make_error_code
39 test_name := thread/futures/futures.errors/equivalent_int_error_condition
/external/chromium_org/mojo/system/
H A Dwaiter_list_unittest.cc28 // Cancel immediately after thread start.
31 test::SimpleWaiterThread thread(&result, &context);
32 waiter_list.AddWaiter(thread.waiter(), MOJO_HANDLE_SIGNAL_READABLE, 1);
33 thread.Start();
36 waiter_list.RemoveWaiter(thread.waiter());
37 } // Join |thread|.
41 // Cancel before after thread start.
44 test::SimpleWaiterThread thread(&result, &context);
45 waiter_list.AddWaiter(thread.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2);
47 thread
[all...]
/external/chromium_org/sandbox/linux/services/
H A Dthread_helpers_unittests.cc19 #include "base/threading/thread.h"
70 base::Thread thread("sandbox_tests");
71 ASSERT_TRUE(thread.Start());
74 // Explicitly stop the thread here to not pollute the next test.
75 ASSERT_TRUE(ThreadHelpers::StopThreadAndWatchProcFS(task.fd(), &thread));
84 base::Thread thread("sandbox_tests");
85 ASSERT_TRUE(thread.Start());
87 // Explicitly stop the thread here to not pollute the next test.
88 ASSERT_TRUE(ThreadHelpers::StopThreadAndWatchProcFS(task.fd(), &thread));
96 base::Thread thread("sandbox_test
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dcritical_section_unittest.cc81 ThreadWrapper* thread = ThreadWrapper::CreateThread( variable
85 ASSERT_TRUE(thread->Start(id));
90 // Thus, the thread should not be able to increment the count
92 crit_sect->Leave(); // This frees the thread to act.
94 EXPECT_TRUE(thread->Stop());
95 delete thread;
110 ThreadWrapper* thread = ThreadWrapper::CreateThread(&LockUnlockRunFunction, variable
114 ASSERT_TRUE(thread->Start(id));
117 // The thread is capable of grabbing the lock multiple times,
123 // The thread doe
[all...]
/external/nist-sip/java/gov/nist/core/
H A DThreadAuditor.java15 * the thread can periodically ping the auditor.
32 /// Set to true when the thread pings, periodically reset to false by the auditor
36 private Thread thread; field in class:ThreadAuditor.ThreadHandle
38 /// Thread auditor monitoring this thread
44 thread = Thread.currentThread();
48 /// Called by the auditor thread to check the ping status of the thread
53 /// Called by the auditor thread to reset the ping status of the thread
58 /// Return the thread bein
113 removeThread(Thread thread) argument
[all...]
/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/mojo/shell/
H A Dtask_runners.cc17 scoped_ptr<base::Thread> thread(new base::Thread(name));
20 thread->StartWithOptions(options);
21 return thread.Pass();
/external/chromium_org/sandbox/win/src/
H A Dpolicy_target.h24 NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread,
31 NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread,
37 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread,
/external/chromium_org/third_party/webrtc/base/
H A Dnullsocketserver_unittest.cc32 Thread thread; local
33 EXPECT_TRUE(thread.Start());
34 thread.Post(this, 0);
/external/compiler-rt/test/asan/TestCases/
H A Ddeep_thread_stack.cc30 pthread_t thread; local
31 pthread_create(&thread, NULL, (callback_type)function, NULL);
32 pthread_join(thread, NULL);
50 // CHECK: WRITE of size 4 at 0x{{.*}} thread T[[ACCESS_THREAD:[0-9]+]]
51 // CHECK: freed by thread T[[FREE_THREAD:[0-9]+]] here:
52 // CHECK: previously allocated by thread T[[ALLOC_THREAD:[0-9]+]] here:
/external/libcxx/test/thread/futures/futures.shared_future/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.shared_future/Android.mk
19 test_name := thread/futures/futures.shared_future/default
23 test_name := thread/futures/futures.shared_future/move_ctor
27 test_name := thread/futures/futures.shared_future/copy_ctor
31 test_name := thread/futures/futures.shared_future/dtor
35 test_name := thread/futures/futures.shared_future/wait_until
39 test_name := thread/futures/futures.shared_future/get
43 test_name := thread/futures/futures.shared_future/wait
47 test_name := thread/futures/futures.shared_future/ctor_future
51 test_name := thread/future
[all...]
/external/lldb/include/lldb/API/
H A DSBHostOS.h38 ThreadCancel (lldb::thread_t thread,
42 ThreadDetach (lldb::thread_t thread,
45 ThreadJoin (lldb::thread_t thread,
/external/valgrind/main/helgrind/tests/
H A Dpth_destroy_cond.c10 pthread_t thread; variable
29 pthread_create(&thread, NULL, ThreadFunction, (void*) NULL);
35 pthread_join(thread, NULL);

Completed in 1345 milliseconds

1234567891011>>