/external/fio/ |
helper_thread.c | 11 pthread_t thread; member in struct:helper_data 67 pthread_join(helper_data->thread, &ret); 173 ret = pthread_create(&hd->thread, NULL, helper_thread_main, hd); 175 log_err("Can't create helper thread: %s\n", strerror(ret));
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
ExecutorFactoryTest.java | 30 private List<Thread> mThreadContainer; 39 mThreadContainer = new ArrayList<Thread>(); 43 * Testing the {@link Executor} when called from the executor thread. 50 mThreadContainer.add(Thread.currentThread()); 58 for (Thread thread : mThreadContainer) { 59 assertEquals(Thread.currentThread(), thread); local 64 * Testing the {@link Executor} when called from another thread. 77 mThreadContainer.add(Thread.currentThread()) 101 assertEquals(Thread.currentThread(), thread); local [all...] |
/external/libxcam/xcore/ |
thread_pool.cpp | 2 * thread_pool.cpp - Thread Pool 29 : public Thread 33 : Thread (name) 57 XCAM_LOG_DEBUG ("thread(%s, %p) stopped", XCAM_STR(get_name ()), this); 72 XCAM_LOG_DEBUG ("user thread(%s) get null data, need stop", XCAM_STR (_pool->get_name ())); 163 "thread pool(%s) start failed by creating user thread", XCAM_STR (get_name())); 217 SmartPtr<UserThread> thread = new UserThread (this, name); local 218 XCAM_ASSERT (thread.ptr ()); 220 ERROR, thread.ptr () && thread->start (), XCAM_RETURN_ERROR_THREAD [all...] |
/external/ltp/testcases/kernel/sched/pthreads/ |
pth_str02.c | 62 void *thread(void *); 94 thread(0); 104 | thread () | 110 void *thread(void *parm) function 136 pcrterr = pthread_create(&th, &attr, thread, (void *)(num + 1)); 146 "Thread [%d]: unable to create more threads!",
|
/external/ltp/testcases/kernel/syscalls/sched_setattr/ |
sched_setattr01.c | 114 pthread_t thread; local 122 pthread_create(&thread, NULL, do_test, NULL); 123 pthread_join(thread, NULL);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
stress.c | 20 * the queried thread. 97 pthread_t thread; member in struct:_tdata 102 /* Thread function */ 113 ret = pthread_getschedparam(td[i].thread, &pol, &sp); 141 /* This thread does almost nothing but wait... */ 229 "Failed to initialize thread attribute"); 247 "failed to set thread attribute sched param"); 254 "failed to set thread attribute sched prio"); 257 ret = pthread_create(&td[i].thread, &ta[i], rt_thread, &bar); 261 "Failed to create a RT thread -- need more privilege?") [all...] |
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
ExtractEngine.cpp | 7 #include "../../../Windows/Thread.h"
118 NWindows::CThread thread;
local 119 RINOK(thread.Create(CThreadExtracting::MyThreadFunction, &t));
123 t.ExtractCallbackSpec->StartProgressDialog(title, thread);
|
/external/mesa3d/src/intel/vulkan/tests/ |
block_pool_no_free.c | 33 pthread_t thread; member in struct:job 75 /* A list of indices, one per thread */ 81 /* First, we find which thread has the highest next element */ 119 pthread_create(&jobs[i].thread, NULL, alloc_blocks, &jobs[i]); 123 pthread_join(jobs[i].thread, NULL);
|
state_pool_no_free.c | 33 pthread_t thread; member in struct:job 70 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 74 pthread_join(jobs[i].thread, NULL); 76 /* A list of indices, one per thread */ 82 /* First, we find which thread has the highest next element */
|
/external/oj-libjdwp/src/share/back/ |
StackFrameImpl.c | 34 validateThreadFrame(jthread thread, FrameID frame) 39 error = threadControl_suspendCount(thread, &count); 42 serror = validateFrameID(thread, frame); 53 writeVariableValue(JNIEnv *env, PacketOutputStream *out, jthread thread, 64 (gdata->jvmti, thread, fnum, slot, &value.l); 84 (gdata->jvmti, thread, fnum, slot, &intValue); 92 (gdata->jvmti, thread, fnum, slot, &intValue); 99 (gdata->jvmti, thread, fnum, slot, &value.f); 105 (gdata->jvmti, thread, fnum, slot, &value.d); 111 (gdata->jvmti, thread, fnum, slot, &value.i) 223 jthread thread; local 281 jthread thread; local 342 jthread thread; local 424 jthread thread; local [all...] |
/external/perfetto/src/traced/probes/ |
process_stats_data_source.cc | 32 // - PID: is really the thread id (for the main thread: PID == TID). 33 // - TGID (thread group ID): is the Unix Process ID (the actual PID). 34 // - PID == TGID for the main thread: the TID of the main thread is also the PID 36 // So, in this file, |pid| might refer to either a process id or a thread id. 151 // Nothing in cmdline so use the thread name instead (which is == "comm"). 160 auto* thread = GetOrCreatePsTree()->add_threads(); local 161 thread->set_tid(tid); 162 thread->set_tgid(tgid) [all...] |
/external/python/cpython3/Lib/test/ |
test_thread.py | 5 thread = support.import_module('_thread') variable 15 _print_mutex = thread.allocate_lock() 26 self.done_mutex = thread.allocate_lock() 28 self.running_mutex = thread.allocate_lock() 29 self.random_mutex = thread.allocate_lock() 41 thread.start_new_thread(self.task, (self.next_ident,)) 57 # Basic test for thread creation. 66 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0") 68 thread.stack_size(0) 69 self.assertEqual(thread.stack_size(), 0, "stack_size not reset to default" [all...] |
test_threadsignals.py | 8 thread = import_module('_thread') variable 15 signalled_all=thread.allocate_lock() 31 signal_blackboard[sig]['tripped_by'] = thread.get_ident() 33 # a function that will be spawned as a separate thread. 43 # We spawn a thread, have the thread send two signals, and 45 # and that they were run by the main thread. 51 # (it might even be after the thread exits 63 thread.get_ident()) 66 thread.get_ident() [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowHandlerThread.java | 18 private HandlerThread thread; field in class:ShadowHandlerThread 41 if (!thread.isAlive()) { 45 // If the thread has been started, wait until the looper has been created. 47 while (thread.isAlive() && looper == null) { 73 prepared.invoke(thread);
|
/external/strace/tests/ |
threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
/external/strace/tests-m32/ |
threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
/external/strace/tests-mx32/ |
threads-execve.c | 2 * Check decoding of threads when a non-leader thread invokes execve. 117 thread(void *arg) function 209 errno = pthread_create(&t, NULL, thread, av);
|
/external/tensorflow/tensorflow/core/lib/core/ |
threadpool.cc | 29 namespace thread { namespace in namespace:tensorflow 32 typedef Thread EnvThread; 138 // ParallelFor may use the current thread to do some 140 // from outside of the thread pool, we get -1, so we can 151 } // namespace thread
|
/external/testng/src/test/java/test/thread/ |
MultiThreadedDependentSampleTest.java | 1 package test.thread; 125 long id = Thread.currentThread().getId();
|
MultiThreadedDependentTest.java | 1 package test.thread;
|
ParallelSuiteTest.java | 1 package test.thread; 58 "Thread count expected:" + expectedThreadCount
|
SequentialTest.java | 1 package test.thread;
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
ThreadUtils.java | 39 * Utility class to be used for checking that a method is called on the correct thread. 42 private Thread thread = Thread.currentThread(); field in class:ThreadUtils.ThreadChecker 45 if (thread == null) { 46 thread = Thread.currentThread(); 48 if (Thread.currentThread() != thread) { 49 throw new IllegalStateException("Wrong thread"); [all...] |
/external/webrtc/webrtc/common_video/ |
incoming_video_stream.cc | 163 rtc::PlatformThread* thread = NULL; local 167 // Setting the incoming render thread to NULL marks that we're performing 169 thread = incoming_render_thread_.release(); 171 // Set the event to allow the thread to wake up and shut down without 176 if (thread) { 177 thread->Stop(); 178 delete thread;
|
/frameworks/base/libs/hwui/hwui/ |
AnimatedImageDrawable.cpp | 63 // Only called on the RenderThread while UI thread is locked. 162 auto& thread = uirenderer::AnimatedImageThread::getInstance(); local 163 mNextSnapshot = thread.reset(sk_ref_sp(this)); 189 auto& thread = uirenderer::AnimatedImageThread::getInstance(); local 190 mNextSnapshot = thread.decodeNextFrame(sk_ref_sp(this)); 194 // No other thread will modify mCurrentSnap so this should be safe to
|