HomeSort by relevance Sort by last modified time
    Searched refs:thread (Results 151 - 175 of 2286) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
get_id.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
46 std::thread t0((G()));
47 std::thread::id id0 = t0.get_id();
48 std::thread t1;
49 std::thread::id id1 = t1.get_id();
51 assert(t1.get_id() == std::thread::id());
  /external/lldb/scripts/Python/interface/
SBHostOS.i 29 ThreadCancel (lldb::thread_t thread,
33 ThreadDetach (lldb::thread_t thread,
36 ThreadJoin (lldb::thread_t thread,
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
get_id.pass.cpp 10 // <thread>
12 // class thread
16 #include <thread>
46 std::thread t0((G()));
47 std::thread::id id0 = t0.get_id();
48 std::thread t1;
49 std::thread::id id1 = t1.get_id();
51 assert(t1.get_id() == std::thread::id());
  /art/test/051-thread/src/
Main.java 20 * Test some basic thread stuff.
24 System.out.println("thread test starting");
29 System.out.println("thread test done");
33 * Simple thread capacity test.
41 for (TestCapacityThread thread : threads) {
42 thread.start();
44 for (TestCapacityThread thread : threads) {
45 thread.join();
48 System.out.println("testThreadCapacity thread count: " + TestCapacityThread.mCount);
51 private static class TestCapacityThread extends Thread {
119 Thread thread = new Thread() { local
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_kill.c 49 pthread_kill (pthread_t thread, int sig)
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.x != tp->ptHandle.
    [all...]
ptw32_threadDestroy.c 43 ptw32_threadDestroy (pthread_t thread)
45 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p;
51 * Copy thread state so that the thread can be atomically NULLed.
56 * Thread ID structs are never freed. They're NULLed and reused.
57 * This also sets the thread to PThreadStateInitial (invalid).
59 ptw32_threadReusePush (thread);
  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
copy.fail.cpp 10 // <thread>
12 // class thread
14 // thread& operator=(thread&& t);
16 #include <thread>
47 std::thread t0(G());
48 std::thread t1;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
copy.fail.cpp 10 // <thread>
12 // class thread
14 // thread& operator=(thread&& t);
16 #include <thread>
47 std::thread t0(G());
48 std::thread t1;
  /external/clang/test/CodeGen/
2003-11-27-ConstructorCast.c 13 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
2003-11-27-UnionCtorInitialization.c 15 struct thread_struct thread = (struct thread_struct) { {{0}} }; local
  /external/deqp/framework/delibs/dethread/win32/
deThreadWin32.c 2 * drawElements Thread Library
21 * \brief Win32 implementation of thread management.
34 /* Thread handle equals deThread in this implementation. */
73 HANDLE thread = 0; local
81 thread = CreateThread(DE_NULL, 0, startThread, entry, 0, DE_NULL);
82 if (!thread)
89 SetThreadPriority(thread, mapPriority(attributes->priority));
91 return (deThread)thread;
94 deBool deThread_join (deThread thread)
96 HANDLE handle = (HANDLE)thread;
    [all...]
  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.id/
lt.pass.cpp 10 // <thread>
12 // class thread::id
14 // bool operator< (thread::id x, thread::id y);
15 // bool operator<=(thread::id x, thread::id y);
16 // bool operator> (thread::id x, thread::id y);
17 // bool operator>=(thread::id x, thread::id y)
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
unwind.h 19 struct thread *thread,
28 struct thread *thread __maybe_unused,
  /external/qemu/distrib/sdl-1.2.15/src/thread/beos/
SDL_systhread.c 24 /* BeOS thread management routines for SDL */
62 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
64 /* Create the thread and go! */
65 thread->handle=spawn_thread(RunThread, "SDL", B_NORMAL_PRIORITY, args);
66 if ( (thread->handle == B_NO_MORE_THREADS) ||
67 (thread->handle == B_NO_MEMORY) ) {
68 SDL_SetError("Not enough resources to create thread");
71 resume_thread(thread->handle);
77 /* Mask asynchronous signals for this thread */
86 void SDL_SYS_WaitThread(SDL_Thread *thread)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/test/
testerror.c 22 /* Set the child thread error string */
23 SDL_SetError("Thread %s (%d) had a problem: %s",
26 printf("Thread '%s' is alive!\n", (char *)data);
29 printf("Child thread error string: %s\n", SDL_GetError());
35 SDL_Thread *thread; local
43 /* Set the error value for the main thread */
47 thread = SDL_CreateThread(ThreadFunc, "#1");
48 if ( thread == NULL ) {
49 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError());
53 printf("Waiting for thread #1\n")
    [all...]
testhread.c 22 printf("Started thread %s: My thread id is %u\n",
25 printf("Thread '%s' is alive!\n", (char *)data);
28 printf("Thread '%s' exiting!\n", (char *)data);
42 SDL_Thread *thread; local
51 thread = SDL_CreateThread(ThreadFunc, "#1");
52 if ( thread == NULL ) {
53 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError());
57 printf("Waiting for thread #1\n");
59 SDL_WaitThread(thread, NULL)
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
ThreadSampler.java 23 * between portable and VM specific implementations of thread
34 * Return a stack trace for the current thread limited by the
36 * return null if no sample is availble for the thread, which may
37 * happen in cases such as thread termination. The resulting array
43 public StackTraceElement[] getStackTrace(Thread thread);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
LoadLocaleProviderTestHelper.java 29 Thread thread = new Thread(this); local
30 thread.setContextClassLoader(loader);
31 thread.start();
32 thread.join();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.id/
lt.pass.cpp 10 // <thread>
12 // class thread::id
14 // bool operator< (thread::id x, thread::id y);
15 // bool operator<=(thread::id x, thread::id y);
16 // bool operator> (thread::id x, thread::id y);
17 // bool operator>=(thread::id x, thread::id y)
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ThreadFactoryBuilderTest.java 25 import java.lang.Thread.UncaughtExceptionHandler;
44 @Override public void uncaughtException(Thread t, Throwable e) {
58 Thread thread = threadFactory.newThread(monitoredRunnable); local
59 checkThreadPoolName(thread, 1);
61 Thread defaultThread =
63 assertEquals(defaultThread.isDaemon(), thread.isDaemon());
64 assertEquals(defaultThread.getPriority(), thread.getPriority());
65 assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
67 thread.getUncaughtExceptionHandler())
107 Thread thread = factory.newThread(monitoredRunnable); local
113 Thread thread = factory.newThread(monitoredRunnable); local
120 Thread thread = factory.newThread(monitoredRunnable); local
184 Thread thread = builder.setThreadFactory(backingThreadFactory).build() local
    [all...]
  /external/chromium_org/base/threading/
simple_thread_unittest.cc 56 // have all threads outstanding until we hit our expected thread pool size.
85 DelegateSimpleThread thread(&runner, "int_setter");
86 EXPECT_FALSE(thread.HasBeenStarted());
87 EXPECT_FALSE(thread.HasBeenJoined());
90 thread.Start();
91 EXPECT_TRUE(thread.HasBeenStarted());
92 EXPECT_FALSE(thread.HasBeenJoined());
94 thread.Join();
95 EXPECT_TRUE(thread.HasBeenStarted());
96 EXPECT_TRUE(thread.HasBeenJoined())
    [all...]
  /external/chromium-trace/trace-viewer/src/tracing/tracks/
thread_track.css 6 .thread-track {
  /external/chromium_org/third_party/WebKit/Source/platform/heap/glue/
MessageLoopInterruptor.h 41 explicit MessageLoopInterruptor(blink::WebThread* thread) : m_thread(thread) { }
  /external/chromium_org/third_party/libjingle/source/talk/base/
asyncinvoker.h 35 #include "talk/base/thread.h"
39 // Invokes function objects (aka functors) asynchronously on a Thread, and
45 // AsyncInvoker does not own the thread it calls functors on.
56 // class that owns the Thread and AsyncInvoker objects, and then call its
62 // void FireAsyncTaskWithResult(Thread* thread, int x) {
65 // thread, Bind(&MyClass::AsyncTaskWithResult, this, x),
68 // void FireAnotherAsyncTask(Thread* thread) {
71 // thread, Bind(&MyClass::AnotherAsyncTask, this))
    [all...]
  /external/chromium_org/third_party/webrtc/base/
asyncinvoker.h 18 #include "webrtc/base/thread.h"
22 // Invokes function objects (aka functors) asynchronously on a Thread, and
28 // AsyncInvoker does not own the thread it calls functors on.
39 // class that owns the Thread and AsyncInvoker objects, and then call its
45 // void FireAsyncTaskWithResult(Thread* thread, int x) {
48 // thread, Bind(&MyClass::AsyncTaskWithResult, this, x),
51 // void FireAnotherAsyncTask(Thread* thread) {
54 // thread, Bind(&MyClass::AnotherAsyncTask, this))
    [all...]

Completed in 1393 milliseconds

1 2 3 4 5 67 8 91011>>