Searched refs:thread (Results 26 - 50 of 1148) sorted by relevance

1234567891011>>

/external/libcxx/test/libcxx/thread/thread.threads/thread.thread.class/
H A Dtypes.pass.cpp10 // UNSUPPORTED: libcpp-has-no-threads, libcpp-has-thread-api-external
11 // REQUIRES: libcpp-has-thread-api-pthread
13 // <thread>
15 // class thread
22 #include <thread>
27 static_assert((std::is_same<std::thread::native_handle_type, pthread_t>::value), "");
/external/llvm/lib/Fuzzer/test/
H A DSimpleThreadedTest.cpp10 #include <thread>
19 std::thread T[] = {std::thread(C), std::thread(C), std::thread(C),
20 std::thread(C), std::thread(C), std::thread(C)};
H A DThreadedTest.cpp9 #include <thread>
20 std::thread T[] = {std::thread(C), std::thread(C), std::thread(C),
21 std::thread(C), std::thread(C), std::thread(C)};
/external/libcxx/test/libcxx/thread/thread.threads/
H A Dversion.pass.cpp12 // <thread>
14 #include <thread>
/external/libcxx/test/std/thread/
H A Dmacro.pass.cpp12 // <thread>
16 #include <thread>
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/
H A Dyield.pass.cpp12 // <thread>
16 #include <thread>
/external/valgrind/drd/tests/
H A Ddlopen.stdout.exp1 In main: creating thread 1
2 Hello World! It's me, thread #1!
H A Dtc21_pthonce.stdout.exp3 child: Hi, I'm thread 0
4 child: Hi, I'm thread 1
H A Dfp_race.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
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
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finishe
[all...]
/external/syslinux/core/thread/
H A Dkill_thread.c1 #include "thread.h"
7 void kill_thread(struct thread *thread) argument
12 if (thread == current())
18 * Muck with the stack so that the next time the thread is run then
21 thread->esp->eip = __exit_thread;
22 thread->prio = INT_MIN;
24 block = thread->blocked;
32 thread->blocked = NULL;
H A Droot_thread.c1 #include "thread.h"
3 struct thread __root_thread = {
11 struct thread *__current = &__root_thread;
/external/compiler-rt/test/tsan/libcxx/
H A Dstd_shared_ptr.cc4 #include <thread>
9 std::thread t1;
10 std::thread t2;
14 t1 = std::thread([thingy, &v1] { v1 = *thingy; });
15 t2 = std::thread([thingy, &v2] { v2 = *thingy; });
/external/compiler-rt/test/tsan/
H A Dbench_acquire_only.cc11 void thread(int tid) { function
18 start_thread_group(bench_nthread, thread);
H A Dsetuid.c12 // Setuid call used to hang because the background tsan thread did not handle
16 static void *thread(void *arg) { function
23 // Create another thread just for completeness of the picture.
25 pthread_create(&th, 0, thread, 0);
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
H A Dstream.pass.cpp12 // <thread>
14 // class thread::id
18 // operator<<(basic_ostream<charT, traits>& out, thread::id id);
20 #include <thread>
26 std::thread::id id0 = std::this_thread::get_id();
H A Dassign.pass.cpp12 // <thread>
14 // class thread::id
18 #include <thread>
23 std::thread::id id0;
24 std::thread::id id1;
H A Deq.pass.cpp12 // <thread>
14 // class thread::id
16 // bool operator==(thread::id x, thread::id y);
17 // bool operator!=(thread::id x, thread::id y);
19 #include <thread>
24 std::thread::id id0;
25 std::thread::id id1;
H A Dthread_id.pass.cpp12 // <thread>
23 #include <thread>
28 std::thread::id id1;
29 std::thread::id id2 = std::this_thread::get_id();
30 typedef std::hash<std::thread::id> H;
31 static_assert((std::is_same<typename H::argument_type, std::thread::id>::value), "" );
/external/linux-kselftest/android/include/
H A Dbionic-compat.h7 static inline int pthread_cancel(pthread_t thread) { return 0; } argument
/external/testng/src/main/java/org/testng/internal/thread/
H A DIFutureResult.java1 package org.testng.internal.thread;
/external/valgrind/helgrind/tests/
H A Dtc21_pthonce.stdout.exp3 child: Hi, I'm thread 0
4 child: Hi, I'm thread 1
/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)
/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/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
H A Drace.pass.cpp24 #include <thread>
43 std::thread t0(f0);
44 std::thread t1(f0);
/external/valgrind/none/tests/solaris/
H A Dthreads_exitall.c10 /* Wait for main thread to block. */
21 pthread_t thread; local
24 if (pthread_create(&thread, NULL, thread_proc, NULL)) {
29 if (pthread_join(thread, &status)) {

Completed in 803 milliseconds

1234567891011>>