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

1 2 3 4 5 67 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/
ParallelTest.java 35 Thread thread = new Thread(worker); local
36 thread.start();
40 Thread.sleep(1000);
  /frameworks/base/core/java/android/app/
IntentService.java 33 * thread, and stops itself when it runs out of work.
36 * from an application's main thread. The IntentService class exists to
39 * will receive the Intents, launch a worker thread, and stop the service as
42 * <p>All requests are handled on a single worker thread -- they may take as
84 * @param name Used to name the worker thread, important only for debugging.
118 HandlerThread thread = new HandlerThread("IntentService[" + mName + "]"); local
119 thread.start();
121 mServiceLooper = thread.getLooper();
162 * This method is invoked on the worker thread with a request to process.
164 * worker thread that runs independently from other application logic
    [all...]
  /frameworks/support/emoji/bundled/src/main/java/androidx/emoji/bundled/
BundledEmojiCompatConfig.java 59 final Thread thread = new Thread(runnable); local
60 thread.setDaemon(false);
61 thread.start();
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramPacketTest.java 32 Thread thread = new Thread(new Runnable() { local
40 System.out.println("thread exception: " + e);
44 thread.start();
  /packages/services/Telecomm/src/com/android/server/telecom/
AsyncRingtonePlayer.java 31 * Plays the default ringtone. Uses {@link Ringtone} in a separate thread so that this class can be
32 * used from the main thread.
36 // Message codes used with the ringtone thread.
44 /** Handler running on the ringtone thread. */
47 /** The current ringtone. Only used by the ringtone thread. */
66 * Posts a message to the ringtone-thread handler. Creates the handler if specified by the
87 * Creates a new ringtone Handler running in its own thread.
92 HandlerThread thread = new HandlerThread("ringtone-player"); local
93 thread.start();
95 return new Handler(thread.getLooper(), null /*callback*/, true /*async*/)
    [all...]
  /bionic/libc/bionic/
pthread_internal.cpp 63 pthread_t __pthread_internal_add(pthread_internal_t* thread) {
67 thread->next = g_thread_list;
68 thread->prev = nullptr;
69 if (thread->next != nullptr) {
70 thread->next->prev = thread;
72 g_thread_list = thread;
73 return reinterpret_cast<pthread_t>(thread);
76 void __pthread_internal_remove(pthread_internal_t* thread) {
79 if (thread->next != nullptr)
102 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(thread_id); local
    [all...]
  /external/ImageMagick/Magick++/lib/
ResourceLimits.cpp 73 void Magick::ResourceLimits::thread(const MagickSizeType limit_) function in class:Magick::ResourceLimits
78 MagickCore::MagickSizeType Magick::ResourceLimits::thread(void) function in class:Magick::ResourceLimits
  /external/compiler-rt/lib/asan/
asan_debugging.cc 75 AsanThread *thread = FindThreadByStackAddress(addr); local
77 if (thread) {
78 GetInfoForStackVar(addr, descr, thread);
  /external/compiler-rt/test/lsan/TestCases/
guard-page.c 1 // Check that if LSan finds that SP doesn't point into thread stack (e.g.
31 static void* thread(void* arg) { function
54 i = pthread_create(&tid, NULL, thread, NULL);
  /external/deqp/external/glslang/
osinclude.cpp 36 // Thread-local
98 const deThread thread = (deThread)(deUintptr)((void**)threads)[ndx]; local
99 deThread_join(thread);
100 deThread_destroy(thread);
  /external/libchrome/base/synchronization/
waitable_event_unittest.cc 144 PlatformThreadHandle thread; local
145 PlatformThread::Create(0, &signaler, &thread);
150 PlatformThread::Join(thread);
163 PlatformThreadHandle thread; local
164 PlatformThread::Create(0, &signaler, &thread);
171 PlatformThread::Join(thread);
184 PlatformThreadHandle thread; local
186 PlatformThread::Create(0, &signaler, &thread);
192 PlatformThread::Join(thread);
232 PlatformThreadHandle thread; local
    [all...]
  /external/libxcam/xcore/
xcam_thread.cpp 2 * xcam_thread.cpp - Thread
27 Thread::Thread (const char *name)
37 Thread::~Thread ()
44 Thread::thread_func (void *user_data)
46 Thread *thread = (Thread *)user_data; local
51 SmartLock locker(thread->_mutex)
    [all...]
  /external/ltp/testcases/kernel/syscalls/mmap/
mmap11.c 29 * thread library called abort().
41 * The fact is, glibc call munmap() when thread exitng time for freeing
94 pthread_t *thread, th; local
105 thread = malloc(STD_LOOP_COUNT * sizeof(pthread_t));
106 if (thread == NULL)
117 ret = pthread_create(&thread[lc], &attr, wait_thread2, NULL);
125 free(thread);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
2-3.c 15 * 4. Create a new thread.
35 void *thread(void *tmp) function
83 rc = pthread_create(&thread_id, &attr, thread, NULL);
2-4.c 15 * 4. Create a new thread.
35 void *thread(void *tmp) function
84 rc = pthread_create(&thread_id, &attr, thread, NULL);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
1-1.c 12 * 3. Create a thread with this object
39 pthread_t thread; local
71 rc = pthread_create(&thread, &attr, thread_func, NULL);
75 "Permission Denied when creating thread with policy %d\n",
84 pthread_join(thread, &status);
88 printf(ERROR_PREFIX "Thread was not created\n");
1-2.c 12 * 3. Create a thread with this object
40 pthread_t thread; local
73 rc = pthread_create(&thread, &attr, thread_func, NULL);
77 "Permission Denied when creating thread with policy %d\n",
86 pthread_join(thread, &status);
90 printf(ERROR_PREFIX "Thread was not created\n");
1-3.c 9 * shall create a thread with the pthread_attr settings passed to it
13 * 2. Create a thread using this attr
14 * 3. In the thread, check these settings.
31 /* the thread uses this to indicate to main or success */
33 /* the thread uses this to indicate to main or success */
36 /* Thread function which checks the scheduler settings for itself */
37 void *thread(void *tmp) function
85 /* Create the thread with the attr */
86 rc = pthread_create(&thread_id, &attr, thread, NULL);
1-4.c 9 * shall create a thread with the pthread_attr settings passed to it
13 * 2. Create a thread using this attr
14 * 3. In the thread, check these settings.
31 /* the thread uses this to indicate to main or success */
33 /* the thread uses this to indicate to main or success */
36 /* Thread function which checks the scheduler settings for itself */
37 void *thread(void *tmp) function
88 /* Create the thread with the attr */
89 rc = pthread_create(&thread_id, &attr, thread, NULL);
95 /* Wait for that thread to finish *
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
1-1.c 37 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
42 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
45 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n",
53 fprintf(stderr, "[Thread 0x%p] was wakened and acquired the mutex "
57 fprintf(stderr, "[Thread 0x%p] failed to release the mutex\n",
61 fprintf(stderr, "[Thread 0x%p] released the mutex\n", (void *)self);
68 pthread_t thread[THREAD_NUM]; local
80 if (pthread_create(&thread[i], NULL, thr_func, NULL) != 0) {
81 fprintf(stderr, "Fail to create thread[%d]\n", i);
103 fprintf(stderr, "[Main thread] broadcast the condition\n")
    [all...]
2-1.c 9 * When each thread unblocked as a result of pthread_cond_signal()
10 * returns from its call to pthread_cond_wait(), the thread shall
38 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
42 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
46 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n",
55 fprintf(stderr, "[Thread 0x%p] should not be able to lock the "
60 fprintf(stderr, "[Thread 0x%p] was wakened and acquired the "
65 fprintf(stderr, "[Thread 0x%p] failed to release the "
70 fprintf(stderr, "[Thread 0x%p] released the mutex\n", (void *)self);
77 pthread_t thread[THREAD_NUM] local
    [all...]
4-1.c 37 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
41 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
45 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n",
52 fprintf(stderr, "[Thread 0x%p] was wakened\n", (void *)self);
56 fprintf(stderr, "[Thread 0x%p] failed to release the mutex\n",
66 pthread_t thread[THREAD_NUM]; local
78 if (pthread_create(&thread[i], NULL, thr_func, NULL) != 0) {
79 fprintf(stderr, "Fail to create thread[%d]\n", i);
99 fprintf(stderr, "[Main thread] broadcast the condition\n");
113 fprintf(stderr, "[Main thread] pthread_cond_broadcast() returned 0\n")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
1-1.c 29 pthread_t thread[THREAD_NUM]; variable
40 pthread_cancel(thread[i]);
52 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
57 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n",
60 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n",
69 "[Thread 0x%p] was wakened and acquired the mutex again\n",
73 fprintf(stderr, "[Thread 0x%p] failed to release the mutex\n",
77 fprintf(stderr, "[Thread 0x%p] released the mutex\n", (void *)self);
96 if (pthread_create(&thread[i], NULL, thr_func, NULL) != 0) {
97 fprintf(stderr, "Fail to create thread[%d]\n", i)
    [all...]
4-1.c 29 pthread_t thread[THREAD_NUM]; variable
40 pthread_cancel(thread[i]);
52 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n",
56 fprintf(stderr, "[Thread 0x%p] started\n", (void *)self);
59 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n",
66 fprintf(stderr, "[Thread 0x%p] was wakened\n", (void *)self);
70 fprintf(stderr, "[Thread 0x%p] failed to release the mutex\n",
92 if (pthread_create(&thread[i], NULL, thr_func, NULL) != 0) {
93 fprintf(stderr, "Fail to create thread[%d]\n", i);
108 fprintf(stderr, "[Main thread] signals a condition\n")
    [all...]
  /external/mesa3d/src/glx/apple/
apple_glx_log.c 76 uint64_t thread = 0; local
80 thread = (uint64_t)(uintptr_t)pthread_self();
83 pthread_threadid_np(NULL, &thread);
85 thread = (uint64_t)(uintptr_t)pthread_self();
88 pthread_threadid_np(NULL, &thread);
97 _asl_level_string(level), file, line, function, thread);
117 asprintf(&_thread, "%"PRIu64, thread);
119 asl_set(msg, "Thread", _thread);

Completed in 1259 milliseconds

1 2 3 4 5 67 8 91011>>