Searched refs:thread (Results 1 - 25 of 925) sorted by relevance

1234567891011>>

/external/valgrind/main/none/tests/
H A Dpth_blockedsig.stdout.exp0 thread CHILD sending SIGUSR1 to thread MAIN
H A Dpth_once.stdout.exp2 identify_yourself: Hi, I'm a thread
3 identify_yourself: Hi, I'm a thread
4 identify_yourself: Hi, I'm a thread
5 identify_yourself: Hi, I'm a thread
6 identify_yourself: Hi, I'm a thread
7 identify_yourself: Hi, I'm a thread
8 identify_yourself: Hi, I'm a thread
9 identify_yourself: Hi, I'm a thread
10 identify_yourself: Hi, I'm a thread
11 identify_yourself: Hi, I'm a thread
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_getunique_np.c5 * This translation unit implements non-portable thread functions.
44 pthread_getunique_np (pthread_t thread) argument
46 return ((ptw32_thread_t*)thread.p)->seqNumber;
H A Dpthread_getw32threadhandle_np.c5 * This translation unit implements non-portable thread functions.
43 * Returns the win32 thread handle that the POSIX
44 * thread "thread" is running as.
47 * win32 specific attributes of the thread.
50 pthread_getw32threadhandle_np (pthread_t thread) argument
52 return ((ptw32_thread_t *)thread.p)->threadH;
58 * Returns the win32 thread id that the POSIX
59 * thread "thread" i
62 pthread_getw32threadid_np(pthread_t thread) argument
[all...]
H A Dpthread_getschedparam.c5 * POSIX thread functions that deal with thread scheduling.
42 pthread_getschedparam (pthread_t thread, int *policy, argument
47 /* Validate the thread id. */
48 result = pthread_kill (thread, 0);
69 * for the target thread. It must not return the actual thread
72 param->sched_priority = ((ptw32_thread_t *)thread.p)->sched_priority;
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
H A DSDL_systhread.c29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
45 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
50 void SDL_SYS_KillThread(SDL_Thread *thread) argument
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
H A DSDL_systhread.c30 #include <kos/thread.h>
32 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) argument
34 thread->handle = thd_create(SDL_RunThread,args);
35 if (thread->handle == NULL) {
36 SDL_SetError("Not enough resources to create thread");
52 void SDL_SYS_WaitThread(SDL_Thread *thread) argument
54 thd_wait(thread->handle);
57 void SDL_SYS_KillThread(SDL_Thread *thread) argument
59 thd_destroy(thread->handle);
/external/lzma/CPP/Windows/
H A DThread.h14 ::CThread thread; member in class:NWindows::CThread
16 CThread() { Thread_Construct(&thread); }
18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
19 WRes Close() { return Thread_Close(&thread); }
21 { return Thread_Create(&thread, startAddress, parameter); }
22 WRes Wait() { return Thread_Wait(&thread); }
25 operator HANDLE() { return thread; }
26 void Attach(HANDLE handle) { thread = handle; }
27 HANDLE Detach() { HANDLE h = thread; thread
[all...]
/external/valgrind/main/drd/tests/
H A Dpth_detached3.c1 /* Invoke pthread_detach() with an invalid thread ID. */
15 pthread_t thread; local
17 pthread_create(&thread, NULL, thread_func, NULL);
18 pthread_join(thread, NULL);
20 /* Invoke pthread_detach() with the thread ID of a joined thread. */
21 pthread_detach(thread);
23 /* Invoke pthread_detach() with an invalid thread ID. */
24 pthread_detach(thread + 1);
H A Dtc21_pthonce.stdout.exp2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
/external/smack/src/org/jivesoftware/smack/filter/
H A DThreadFilter.java27 * Filters for message packets with a particular thread value.
33 private String thread; field in class:ThreadFilter
36 * Creates a new thread filter using the specified thread value.
38 * @param thread the thread value to filter for.
40 public ThreadFilter(String thread) { argument
41 if (thread == null) {
44 this.thread = thread;
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dandroid_parser_test.js48 var thread = threads[0];
49 assertEquals(4829, thread.parent.pid);
50 assertEquals(4831, thread.tid);
51 assertEquals('SurfaceFlinger', thread.name);
52 assertEquals(11, thread.sliceGroup.length);
66 var thread = threads[0];
67 assertEquals(4829, thread.parent.pid);
68 assertEquals(4831, thread.tid);
69 assertEquals('Surface Flinger ', thread.name);
70 assertEquals(1, thread
[all...]
H A Dcpufreq_parser_test.js25 var thread = threads[0];
26 assertEquals(0, thread.sliceGroup.slices[0].args['cpu']);
27 assertEquals(2, thread.sliceGroup.slices[0].args['load']);
28 assertEquals(2000000, thread.sliceGroup.slices[0].args['cur']);
29 assertEquals(300000, thread.sliceGroup.slices[0].args['targ']);
31 assertEquals(0, thread.sliceGroup.slices[1].args['cpu']);
32 assertEquals(12, thread.sliceGroup.slices[1].args['load']);
33 assertEquals(1000000, thread.sliceGroup.slices[1].args['cur']);
34 assertEquals(1000000, thread.sliceGroup.slices[1].args['actual']);
35 assertEquals(200000, thread
[all...]
/external/chromium_org/base/threading/
H A Dplatform_thread_unittest.cc12 // Trivial tests that thread runs and doesn't crash on create and join ---------
31 TrivialThread thread; local
34 ASSERT_FALSE(thread.did_run());
35 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
37 ASSERT_TRUE(thread.did_run());
41 TrivialThread thread[10]; local
42 PlatformThreadHandle handle[arraysize(thread)];
44 for (size_t n = 0; n < arraysize(thread); n++)
45 ASSERT_FALSE(thread[n].did_run());
46 for (size_t n = 0; n < arraysize(thread);
82 FunctionTestThread thread; local
98 FunctionTestThread thread[10]; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLParserThread.cpp51 static HTMLParserThread* thread; local
52 if (!thread)
53 thread = new HTMLParserThread;
54 return thread;
/external/qemu/distrib/sdl-1.2.15/src/thread/
H A DSDL_systhread.h31 /* This function creates a thread, passing args to SDL_RunThread(),
32 saves a system-dependent thread id in thread->id, and returns 0
36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
41 /* This function does any necessary setup in the child thread */
44 /* This function waits for the thread to finish and frees any data
47 extern void SDL_SYS_WaitThread(SDL_Thread *thread);
49 /* This function kills the thread and returns */
50 extern void SDL_SYS_KillThread(SDL_Thread *thread);
[all...]
H A DSDL_thread.c24 /* System independent thread management routines for SDL */
33 (except the main thread)
56 they will no longer have access to any per-thread data.
69 /* Routines for manipulating the thread list */
70 static void SDL_AddThread(SDL_Thread *thread) argument
76 is only one thread running the first time this is called.
87 printf("Adding thread (%d already - %d max)\n",
101 SDL_Threads[SDL_numthreads++] = thread;
106 static void SDL_DelThread(SDL_Thread *thread) argument
115 if ( thread
214 SDL_Thread *thread; local
269 SDL_WaitThread(SDL_Thread *thread, int *status) argument
281 SDL_GetThreadID(SDL_Thread *thread) argument
293 SDL_KillThread(SDL_Thread *thread) argument
[all...]
/external/valgrind/main/helgrind/tests/
H A Dtc21_pthonce.stdout.exp2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
/external/chromium/base/threading/
H A Dplatform_thread_unittest.cc11 // Trivial tests that thread runs and doesn't crash on create and join ---------
30 TrivialThread thread; local
33 ASSERT_FALSE(thread.did_run());
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
36 ASSERT_TRUE(thread.did_run());
40 TrivialThread thread[10]; local
41 PlatformThreadHandle handle[arraysize(thread)];
43 for (size_t n = 0; n < arraysize(thread); n++)
44 ASSERT_FALSE(thread[n].did_run());
45 for (size_t n = 0; n < arraysize(thread);
78 FunctionTestThread thread; local
91 FunctionTestThread thread[10]; local
[all...]
/external/kernel-headers/original/asm-mips/
H A Ddsp.h45 tsk->thread.dsp.dspr[0] = mfhi1(); \
46 tsk->thread.dsp.dspr[1] = mflo1(); \
47 tsk->thread.dsp.dspr[2] = mfhi2(); \
48 tsk->thread.dsp.dspr[3] = mflo2(); \
49 tsk->thread.dsp.dspr[4] = mfhi3(); \
50 tsk->thread.dsp.dspr[5] = mflo3(); \
51 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
62 mthi1(tsk->thread.dsp.dspr[0]); \
63 mtlo1(tsk->thread.dsp.dspr[1]); \
64 mthi2(tsk->thread
[all...]
/external/junit/src/org/junit/internal/runners/statements/
H A DFailOnTimeout.java20 StatementThread thread= evaluateStatement();
21 if (!thread.fFinished)
22 throwExceptionForUnfinishedThread(thread);
26 StatementThread thread= new StatementThread(fOriginalStatement);
27 thread.start();
28 thread.join(fTimeout);
29 thread.interrupt();
30 return thread;
33 private void throwExceptionForUnfinishedThread(StatementThread thread) argument
35 if (thread
41 throwTimeoutException(StatementThread thread) argument
[all...]
/external/chromium_org/mojo/system/
H A Dwaiter_unittest.cc96 // Awake immediately after thread start.
98 WaitingThread thread(static_cast<MojoDeadline>(10 * kEpsilonMicros));
99 thread.Start();
100 thread.waiter()->Awake(0);
101 thread.WaitUntilDone(&result, &elapsed_micros);
106 // Awake before after thread start.
108 WaitingThread thread(static_cast<MojoDeadline>(10 * kEpsilonMicros));
109 thread.waiter()->Awake(MOJO_RESULT_CANCELLED);
110 thread.Start();
111 thread
[all...]
/external/chromium_org/ppapi/tests/
H A Dpp_thread.h18 #error No thread library detected.
44 PP_INLINE bool PP_CreateThread(PP_ThreadType* thread,
47 PP_INLINE void PP_JoinThread(PP_ThreadType thread);
50 /* Because POSIX thread functions return void* and Windows thread functions do
51 * not, we make PPAPI thread functions have the least capability (no returns).
68 PP_INLINE bool PP_CreateThread(PP_ThreadType* thread, argument
75 return (pthread_create(thread,
81 PP_INLINE void PP_JoinThread(PP_ThreadType thread) { argument
83 pthread_join(thread,
89 PP_CreateThread(PP_ThreadType* thread, PP_ThreadFunction function, void* thread_arg) argument
100 PP_JoinThread(PP_ThreadType thread) argument
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/timeline/
H A Dinspector_importer.py7 import telemetry.core.timeline.thread as timeline_thread
27 thread = render_process.GetOrCreateThread(raw_event.get('thread', 0))
28 InspectorTimelineImporter.AddRawEventToThreadRecursive(thread, raw_event)
34 def AddRawEventToThreadRecursive(thread, raw_inspector_event):
47 thread.BeginSlice('inspector',
55 thread, child)
58 thread.EndSlice(end_time)
63 thread = timeline_thread.Thread(None, 0)
65 thread, raw_inspector_even
[all...]
/external/bison/lib/glthread/
H A Dthreadlib.c32 /* The function to be executed by a dummy thread. */
47 pthread_t thread; local
49 if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
56 if (pthread_join (thread, &retval) != 0)

Completed in 805 milliseconds

1234567891011>>