Searched refs:thread (Results 51 - 75 of 925) sorted by relevance

1234567891011>>

/external/qemu/distrib/sdl-1.2.15/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.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/valgrind/main/drd/tests/
H A Dpth_create_glibc_2_0.stderr.exp2 The thread.
H A Dstd_thread.cpp1 // Test whether no race conditions are reported on std::thread. Note: since
2 // the implementation of std::thread uses the shared pointer implementation,
15 #include <thread>
19 std::thread t( []() { } );
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 Dfp_race.stderr.exp2 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 finishe
[all...]
H A Dhg04_race.stderr.exp3 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)
19 (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 Dsem_as_mutex.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)
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 finishe
[all...]
H A Dsem_open.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)
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 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...]
/external/webrtc/src/system_wrappers/source/
H A Dthread_unittest.cc69 ThreadWrapper* thread = ThreadWrapper::CreateThread(&NullRunFunction); local
71 ASSERT_TRUE(thread->Start(id));
72 EXPECT_TRUE(thread->Stop());
73 delete thread;
85 ThreadWrapper* thread = ThreadWrapper::CreateThread(&SetFlagRunFunction, local
88 ASSERT_TRUE(thread->Start(id));
90 EXPECT_TRUE(thread->Stop());
91 // We expect the thread to have run at least once.
93 delete thread;
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_join.c5 * This translation unit implements functions related to thread
51 pthread_join (pthread_t thread, void **value_ptr) argument
55 * This function waits for 'thread' to terminate and
56 * returns the thread's exit value if 'value_ptr' is not
57 * NULL. This also detaches the thread on successful
61 * thread
69 * This function waits for 'thread' to terminate and
70 * returns the thread's exit value if 'value_ptr' is not
71 * NULL. This also detaches the thread on successful
76 * 0 'thread' ha
[all...]
H A Dpthread_setschedparam.c5 * POSIX thread functions that deal with thread scheduling.
42 pthread_setschedparam (pthread_t thread, int policy, argument
47 /* Validate the thread id. */
48 result = pthread_kill (thread, 0);
66 return (ptw32_setthreadpriority (thread, policy, param->sched_priority));
71 ptw32_setthreadpriority (pthread_t thread, int policy, int priority) argument
76 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p;
114 * Must record the thread's sched_priority as given,
H A Dsignal.c44 * signal (interrupt) to a specified thread in the same
51 * Each thread maintains information about which
53 * are set on a per-process basis - not per-thread.
54 * When signalled, a thread will check it's sigmask
57 * thread must then (except for some signals) return to
60 * Ideally the system itself would check the target thread's
61 * mask before possibly needlessly bothering the thread
63 * in the signaling thread since it has access to
67 * serialisation of the access to the per-thread signal
72 * threads processor context to cause the thread t
102 pthread_t thread = pthread_self (); local
[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/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/chromium_org/sandbox/linux/services/
H A Dthread_helpers_unittests.cc19 #include "base/threading/thread.h"
57 base::Thread thread("sandbox_tests");
58 ASSERT_TRUE(thread.Start());
68 base::Thread thread("sandbox_tests");
69 ASSERT_TRUE(thread.Start());
78 base::Thread thread("sandbox_tests");
82 ASSERT_TRUE(thread.Start());
85 ASSERT_TRUE(ThreadHelpers::StopThreadAndWatchProcFS(task.fd(), &thread));
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
H A Dmain.cc35 #include "talk/base/thread.h"
39 CustomSocketServer(talk_base::Thread* thread, GtkMainWnd* wnd) argument
40 : thread_(thread), wnd_(wnd), conductor_(NULL), client_(NULL) {}
50 // different thread. Alternatively we could look at merging the two loops
93 talk_base::Thread* thread = talk_base::Thread::Current(); local
94 CustomSocketServer socket_server(thread, &wnd);
95 thread->set_socketserver(&socket_server);
104 thread->Run();
109 thread->set_socketserver(NULL);
/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/qemu/memcheck/
H A Dmemcheck_proc_management.c24 /* 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 descripto
177 ThreadDesc* thread; local
210 ThreadDesc* thread; local
231 const ThreadDesc* thread = get_thread_from_tid(tid); local
285 threaddesc_free(ThreadDesc* thread) argument
352 ThreadDesc* thread = get_current_thread(); local
422 ThreadDesc* thread = get_current_thread(); local
583 ThreadDesc* thread = get_current_thread(); local
[all...]
/external/linux-tools-perf/util/
H A Dbuild-id.c28 struct thread *thread = perf_session__findnew(session, event->ip.pid); local
30 if (thread == NULL) {
36 thread__find_addr_map(thread, session, cpumode, MAP__FUNCTION,
49 struct thread *thread = perf_session__findnew(session, event->fork.tid); local
54 if (thread) {
55 rb_erase(&thread->rb_node, &session->threads);
57 thread__delete(thread);

Completed in 369 milliseconds

1234567891011>>