Searched defs:thread (Results 1 - 25 of 538) sorted by relevance

1234567891011>>

/external/bluetooth/bluedroid/osi/test/
H A Dthread_test.cpp4 #include "thread.h"
9 thread_t *thread = thread_new("test_thread"); local
10 ASSERT_TRUE(thread != NULL);
11 thread_free(thread);
15 thread_t *thread = thread_new("test_thread"); local
16 thread_free(thread);
20 thread_t *thread = thread_new("test_name"); local
21 ASSERT_STREQ(thread_name(thread), "test_name");
22 thread_free(thread);
26 thread_t *thread local
32 thread_t *thread = thread_new("0123456789abcdefg"); local
[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 Dptw32_threadDestroy.c43 ptw32_threadDestroy (pthread_t thread) argument
45 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p;
51 * Copy thread state so that the thread can be atomically NULLed.
57 * This also sets the thread to PThreadStateInitial (invalid).
59 ptw32_threadReusePush (thread);
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;
H A Dpthread_detach.c5 * This translation unit implements functions related to thread
51 pthread_detach (pthread_t thread) argument
55 * This function detaches the given thread.
58 * thread
63 * This function detaches the given thread. You may use it to
64 * detach the main thread or to detach a joinable thread.
69 * 0 successfully detached the thread,
70 * EINVAL thread is not a joinable thread,
[all...]
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_key_delete.c5 * POSIX thread functions which implement thread-specific data (TSD).
46 * This function deletes a thread-specific data key. This
47 * does not change the value of the thread specific data key
48 * for any thread and does not run the key's destructor
49 * in any thread so it should be used with caution.
57 * This function deletes a thread-specific data key. This
58 * does not change the value of the thread specific data key
59 * for any thread and does not run the key's destructor
60 * in any thread s
89 ptw32_thread_t * thread = assoc->thread; local
[all...]
H A Dpthread_kill.c49 pthread_kill (pthread_t thread, int sig) argument
54 * specified thread. If sig is zero, error checking is
56 * function can be used to check for a valid thread ID.
59 * thread reference to an instances of pthread_t
65 * specified thread. If sig is zero, error checking is
67 * function can be used to check for a valid thread ID.
70 * ESRCH the thread is not a valid thread ID,
84 tp = (ptw32_thread_t *) thread.p;
87 || thread
[all...]
H A Dptw32_reuse.c5 * This translation unit implements miscellaneous thread functions.
49 * the thread state struct ptw32_thread_t_ (p), plus a reuse counter (x). Each
53 * The thread reuse stack is a simple LILO stack managed through a singly
56 * Each time a thread is destroyed, the ptw32_thread_t address is pushed onto the
65 * - a pthread_t copy refers to a destroyed thread if the reuse counter in
114 ptw32_threadReusePush (pthread_t thread) argument
116 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p;
/external/compiler-rt/test/tsan/
H A Dbench_acquire_only.cc8 void thread(int tid) { function
15 start_thread_group(bench_nthread, thread);
H A Dbench_acquire_release.cc8 void thread(int tid) { function
14 start_thread_group(bench_nthread, thread);
H A Dbench_rwmutex.cc8 void thread(int tid) { function
21 start_thread_group(bench_nthread, thread);
H A Dbench_single_writer.cc8 void thread(int tid) { function
19 start_thread_group(bench_nthread, thread);
H A Dbench_local_mutex.cc9 void thread(int tid) { function
23 start_thread_group(bench_nthread, thread);
H A Dbench_release_only.cc9 void thread(int tid) { function
19 start_thread_group(bench_nthread, thread);
H A Dbench_mutex.cc10 void thread(int tid) { function
24 start_thread_group(2, thread);
H A Dbench_ten_mutexes.cc9 void thread(int tid) { function
22 start_thread_group(2, thread);
/external/deqp/framework/delibs/destream/
H A DdeStreamCpyThread.h23 * \brief Stream copying thread
36 deThread thread; member in struct:deStreamCpyThread_s
41 void deStreamCpyThread_destroy (deStreamCpyThread* thread);
43 void deStreamCpyThread_join (deStreamCpyThread* thread);
/external/qemu/audio/
H A Daudio_pt_int.h8 pthread_t thread; member in struct:audio_pt
/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/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/valgrind/main/drd/tests/
H A Dpth_barrier_race.c22 static void* thread(void* arg) function
35 pthread_create(&tid, NULL, thread, NULL);
40 * happens after the created thread has returned from pthread_barrier_wait().
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 + 8);
/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 353 milliseconds

1234567891011>>