HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 1 - 25 of 998) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/none/tests/
pth_blockedsig.stdout.exp 0 thread CHILD sending SIGUSR1 to thread MAIN
pth_once.stdout.exp 2 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...]
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/thread.thread.static/
hardware_concurrency.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
21 assert(std::thread::hardware_concurrency() > 0);
  /external/qemu/distrib/sdl-1.2.15/src/thread/generic/
SDL_systhread.c 24 /* Thread management routines for SDL */
29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
45 void SDL_SYS_WaitThread(SDL_Thread *thread)
50 void SDL_SYS_KillThread(SDL_Thread *thread)
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
default.pass.cpp 10 // <thread>
12 // class thread
14 // thread();
16 #include <thread>
21 std::thread t;
22 assert(t.get_id() == std::thread::id());
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/thread.thread.id/
default.pass.cpp 10 // <thread>
12 // class thread::id
16 #include <thread>
21 std::thread::id id;
22 assert(id == std::thread::id());
copy.pass.cpp 10 // <thread>
12 // class thread::id
16 #include <thread>
21 std::thread::id id0;
22 std::thread::id id1 = id0;
thread_id.pass.cpp 21 #include <thread>
26 std::thread::id id1;
27 std::thread::id id2 = std::this_thread::get_id();
28 typedef std::hash<std::thread::id> H;
  /bionic/libc/bionic/
pthread_internals.cpp 37 void _pthread_internal_remove_locked(pthread_internal_t* thread) {
38 if (thread->next != NULL) {
39 thread->next->prev = thread->prev;
41 if (thread->prev != NULL) {
42 thread->prev->next = thread->next;
44 gThreadList = thread->next;
47 // The main thread is not heap-allocated. See __libc_init_tls for the declaration,
48 // and __libc_init_common for the point where it's added to the thread list
    [all...]
pthread_join.cpp 38 pthread_accessor thread(t);
39 if (thread.get() == NULL) {
43 if (thread->attr.flags & PTHREAD_ATTR_FLAG_DETACHED) {
47 // Wait for thread death when needed.
49 // If the 'join_count' is negative, this is a 'zombie' thread that
52 int count = thread->join_count;
54 thread->join_count += 1;
55 pthread_cond_wait(&thread->join_cond, &gThreadListLock);
56 count = --thread->join_count;
59 *ret_val = thread->return_value
    [all...]
pthread_detach.cpp 34 pthread_accessor thread(t);
35 if (thread.get() == NULL) {
39 if (thread->attr.flags & PTHREAD_ATTR_FLAG_DETACHED) {
43 if (thread->join_count > 0) {
47 thread->attr.flags |= PTHREAD_ATTR_FLAG_DETACHED;
pthread_getcpuclockid.cpp 34 pthread_accessor thread(t);
35 if (thread.get() == NULL) {
40 *clockid = CLOCK_THREAD_CPUTIME_ID | (thread->tid << CLOCK_IDTYPE_BITS);
pthread_create.cpp 59 void __init_tls(pthread_internal_t* thread) {
62 thread->tls[i] = NULL;
66 thread->tls[TLS_SLOT_SELF] = thread->tls;
67 thread->tls[TLS_SLOT_THREAD_ID] = thread;
69 thread->tls[TLS_SLOT_STACK_GUARD] = (void*) __stack_chk_guard;
71 __set_tls(thread->tls);
76 // Wait for our creating thread to release us. This lets it have time to
77 // notify gdb about this thread before we start doing anything
84 pthread_internal_t* thread = (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID]; local
154 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(calloc(sizeof(*thread), 1)); local
    [all...]
pthread_getschedparam.cpp 37 pthread_accessor thread(t);
38 if (thread.get() == NULL) {
42 int rc = sched_getparam(thread->tid, param);
46 *policy = sched_getscheduler(thread->tid);
  /external/qemu/distrib/sdl-1.2.15/src/thread/dc/
SDL_systhread.c 24 /* Thread management routines for SDL */
30 #include <kos/thread.h>
32 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
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)
54 thd_wait(thread->handle);
57 void SDL_SYS_KillThread(SDL_Thread *thread)
59 thd_destroy(thread->handle)
    [all...]
  /external/valgrind/main/drd/tests/
pth_detached3.c 1 /* 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);
tc21_pthonce.stdout.exp 2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.this/
get_id.pass.cpp 10 // <thread>
12 // thread::id this_thread::get_id();
14 #include <thread>
19 std::thread::id id = std::this_thread::get_id();
20 assert(id != std::thread::id());
yield.pass.cpp 10 // <thread>
14 #include <thread>
  /external/smack/src/org/jivesoftware/smack/filter/
ThreadFilter.java 27 * 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) {
41 if (thread == null) {
42 throw new IllegalArgumentException("Thread cannot be null.");
44 this.thread = thread
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/thread.thread.class/
types.pass.cpp 10 // <thread>
12 // class thread
19 #include <thread>
24 static_assert((std::is_same<std::thread::native_handle_type, pthread_t>::value), "");
  /external/qemu/distrib/sdl-1.2.15/src/thread/
SDL_systhread.h 31 /* 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...]
  /external/valgrind/main/helgrind/tests/
tc21_pthonce.stdout.exp 2 child: Hi, I'm thread 0
3 child: Hi, I'm thread 1
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/
macro.pass.cpp 10 // <thread>
14 #include <thread>
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.threads/
version.pass.cpp 10 // <thread>
12 #include <thread>

Completed in 151 milliseconds

1 2 3 4 5 6 7 8 91011>>