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

1 2 3 4 5 6 7 8 91011>>

  /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);
pth_barrier_race.c 22 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().
pth_cancel_locked.c 1 /** Cancel a thread that holds a lock on a mutex. */
14 static void* thread(void* arg) function
18 /* Inform the main thread that s_mutex2 has been locked, and wait for pthread_cancel(). */
34 /* Create thread. */
36 pthread_create(&tid, 0, &thread, 0);
38 /* Wait until the created thread has locked s_mutex2. */
42 /* Cancel the created thread. */
45 /* Join the created thread. */
  /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...]
  /system/extras/tests/bionic/libc/common/
test_clock.c 25 // this thread soaks the CPU so that clock() function will advance
36 pthread_t thread; local
42 pthread_create(&thread, NULL, cpu_hog, NULL);
54 // exit could wait for the other thread to complete
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
LoadLocaleProviderTestHelper.java 29 Thread thread = new Thread(this); local
30 thread.setContextClassLoader(loader);
31 thread.start();
32 thread.join();
  /frameworks/base/core/tests/coretests/src/android/content/
ContentQueryMapTest.java 34 /** Helper class to run test code in a new thread with a Looper. */
35 private abstract class LooperThread extends Thread {
54 LooperThread thread = new LooperThread() { local
99 thread.start();
100 thread.join();
101 if (thread.mError != null) throw thread.mError;
102 assertTrue(thread.mSuccess);
  /libcore/luni/src/test/java/libcore/java/lang/
OldInheritableThreadLocalTest.java 38 Thread thread = new Thread() { local
43 thread.start();
44 thread.join();
  /external/bison/lib/glthread/
threadlib.c 32 /* 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)
50 /* Thread creation failed. */
54 /* Thread creation works. */
56 if (pthread_join (thread, &retval) != 0)
  /external/chromium/third_party/libjingle/source/talk/examples/login/
login_main.cc 31 #include "talk/base/thread.h"
44 // Start xmpp on a different thread
45 XmppThread thread; local
46 thread.Start();
54 thread.Login(xcs);
56 // Use main thread for console input
  /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
pthread_key_delete.c 5 * 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 so it should be used with caution
89 ptw32_thread_t * thread = assoc->thread; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserThread.cpp 51 static HTMLParserThread* thread; local
52 if (!thread)
53 thread = new HTMLParserThread;
54 return thread;
  /external/chromium_org/third_party/libjingle/source/talk/examples/login/
login_main.cc 31 #include "talk/base/thread.h"
46 // Start xmpp on a different thread
47 buzz::XmppThread thread; local
48 thread.Start();
57 thread.Login(xcs);
59 // Use main thread for console input
  /external/junit/src/org/junit/internal/runners/statements/
FailOnTimeout.java 20 StatementThread thread= evaluateStatement(); local
21 if (!thread.fFinished)
22 throwExceptionForUnfinishedThread(thread);
26 StatementThread thread= new StatementThread(fOriginalStatement); local
27 thread.start();
28 thread.join(fTimeout);
29 thread.interrupt();
30 return thread;
33 private void throwExceptionForUnfinishedThread(StatementThread thread)
35 if (thread.fExceptionThrownByOriginalStatement != null
    [all...]
  /external/qemu/audio/
audio_pt_int.h 8 pthread_t thread; member in struct:audio_pt
  /external/qemu/
qemu-thread.h 15 pthread_t thread; member in struct:QemuThread
36 void qemu_thread_create(QemuThread *thread,
39 void qemu_thread_signal(QemuThread *thread, int sig);
40 void qemu_thread_self(QemuThread *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...]
  /external/valgrind/main/helgrind/tests/
pth_destroy_cond.c 10 pthread_t thread; variable
29 pthread_create(&thread, NULL, ThreadFunction, (void*) NULL);
35 pthread_join(thread, NULL);
  /external/valgrind/main/none/tests/s390x/
ex_clone.c 13 pthread_t thread; variable
42 pthread_create(&thread, NULL, threadfunc, NULL);
57 pthread_join(thread, NULL);
  /system/extras/tests/bionic/libc/other/
test_thread_max.c 36 fprintf(stderr, "thread %ld\n", (long)arg );
50 pthread_t thread; local
53 if (pthread_create( &thread, &attr, thread_func, (void*)(long)count ) < 0) {
54 fprintf(stderr, "could not create thread %d\n", count);
  /art/test/ParallelGC/
ParallelGC.java 22 Thread[] threads = new Thread[16];
24 threads[i] = new Thread(new ParallelGC(i));
26 for (Thread thread : threads) {
27 thread.start();
29 for (Thread thread : threads) {
30 thread.join();
  /libcore/crypto/src/test/java/org/conscrypt/
FileClientSessionCacheTest.java 35 Thread[] threads = new Thread[10];
39 threads[i] = new Thread() {
48 for (Thread thread : threads) {
49 thread.start();
51 for (Thread thread : threads) {
52 thread.join();
  /cts/libs/vogar-expect/src/vogar/util/
Threads.java 34 public synchronized Thread newThread(Runnable r) {
35 Thread thread = new Thread(r, name + "-" + (nextId++)); local
36 thread.setDaemon(true);
37 return thread;
  /external/chromium/base/synchronization/
waitable_event_unittest.cc 95 PlatformThreadHandle thread; local
96 PlatformThread::Create(0, &signaler, &thread);
100 PlatformThread::Join(thread);

Completed in 1352 milliseconds

1 2 3 4 5 6 7 8 91011>>