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

<<11121314151617181920>>

  /external/google-breakpad/src/client/mac/tests/
crash_generation_server_test.cc 183 // Have to spawn off a separate thread to request the dump,
184 // because MinidumpGenerator assumes the handler thread is not
185 // the only thread
186 pthread_t thread; local
187 if (pthread_create(&thread, NULL, RequestDump, (void*)mach_port_name) != 0)
190 pthread_join(thread, &result);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
CycleDetectingLockFactoryTest.java 469 LockingThread thread = new LockingThread(lockA); local
470 thread.start();
472 thread.waitUntilHoldingLock();
475 thread.releaseLockAndFinish();
480 LockingThread thread = new LockingThread(writeLockA); local
481 thread.start();
483 thread.waitUntilHoldingLock();
487 thread.releaseLockAndFinish();
493 LockingThread thread = new LockingThread(readLockA); local
494 thread.start()
    [all...]
  /external/jemalloc/include/jemalloc/internal/
tsd.h 28 * TLS/TSD-agnostic macro-based implementation of thread-specific data. There
582 pthread_t thread; member in struct:tsd_init_block_s
  /external/libchrome/base/threading/
platform_thread_unittest.cc 22 // Trivial tests that thread runs and doesn't crash on create, join, or detach -
44 TrivialThread thread; local
47 ASSERT_FALSE(thread.run_event().IsSignaled());
48 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
50 ASSERT_TRUE(thread.run_event().IsSignaled());
54 TrivialThread thread[10]; local
55 PlatformThreadHandle handle[arraysize(thread)];
57 for (size_t n = 0; n < arraysize(thread); n++)
58 ASSERT_FALSE(thread[n].run_event().IsSignaled());
59 for (size_t n = 0; n < arraysize(thread); n++
71 TrivialThread thread; local
81 TrivialThread thread[10]; local
167 FunctionTestThread thread; local
187 FunctionTestThread thread[10]; local
    [all...]
  /external/libcxx/src/
thread.cpp 1 //===------------------------- thread.cpp----------------------------------===//
13 #include "thread"
41 thread::~thread()
48 thread::join()
59 __throw_system_error(ec, "thread::join failed");
63 thread::detach()
74 __throw_system_error(ec, "thread::detach failed");
78 thread::hardware_concurrency() _NOEXCEPT
107 return 0; // Means not computable [thread.thread.static
    [all...]
  /external/libevent/test/
test-changelist.c 56 HANDLE thread; member in struct:cpu_usage_timer
70 timer->thread = GetCurrentThread();
71 r = GetThreadTimes(timer->thread, &createtime, &exittime,
118 r = GetThreadTimes(timer->thread, &createtime, &exittime,
  /external/linux-kselftest/tools/testing/selftests/x86/
fsgsbase.c 198 printf("\tother thread: ARCH_SET_GS(0x%lx)%s -- sel is 0x%hx\n",
231 printf("\tother thread: using LDT slot 0\n");
256 printf("\tother thread: using GDT slot %d\n", desc.entry_number);
281 errx(1, "helper thread got bad command");
351 printf("[RUN]\tARCH_SET_GS(0), clear gs, then manipulate GSBASE in a different thread\n");
372 pthread_t thread; local
397 if (pthread_create(&thread, 0, threadproc, 0) != 0)
420 ftx = 3; /* Kill the thread. */
423 if (pthread_join(thread, NULL) != 0)
  /external/ltp/testcases/kernel/controllers/io-throttle/
iobw.c 80 static void thread(int id) function
158 fprintf(stderr, "ERROR: couldn't fork thread %d\n", id);
161 thread(id);
  /external/ltp/testcases/kernel/io/stress_cd/
stress_cd.c 47 static void *thread(int *);
67 printf("Thread [main] checksum: %-#12lx\n", checksum);
81 printf("\tThread [main]: creating thread %d\n", i + 1);
84 (void *)thread, (void *)&arg[i])) {
88 "thread %d\n", i);
94 printf("\tThread [main]: created thread %d\n", i + 1);
101 printf("\tThread [main]: waiting for thread: %d\n", i + 1);
120 static void *thread(int *parm) function
  /external/ltp/testcases/realtime/include/
librttest.h 34 * 2006-May-08: Added atomic_{inc,set,get}, thread struct, debug function,
80 struct thread { struct
235 /* create_fifo_thread: spawn a SCHED_FIFO thread with priority prio running
236 * func as the thread function with arg as it's parameter.
243 /* create_rr_thread: spawn a SCHED_RR thread with priority prio running
244 * func as the thread function with arg as it's parameter.
251 /* create_other_thread: spawn a SCHED_OTHER thread
252 * func as the thread function with arg as it's parameter.
258 /* Change the priority of a running thread */
275 /* get_thread: return a struct thread pointer from the list *
    [all...]
  /external/ltp/utils/sctp/func_tests/
test_1_to_1_threads.c 140 pthread_t thread[THREADS]; local
175 status = pthread_create(&thread[cnt], &attr, relay, &pth[cnt]);
184 exit_status = pthread_join (thread[cnt], &result);
187 "Thread #%d exited with status:%d",
  /external/nist-sip/java/gov/nist/core/
ThreadAuditor.java 6 * Thread Auditor class:
15 * the thread can periodically ping the auditor.
25 private Map<Thread,ThreadHandle> threadHandles = new HashMap<Thread,ThreadHandle>();
32 /// Set to true when the thread pings, periodically reset to false by the auditor
35 /// Thread being monitored
36 private Thread thread; field in class:ThreadAuditor.ThreadHandle
38 /// Thread auditor monitoring this thread
142 Thread thread = threadHandle.getThread(); local
    [all...]
  /external/oj-libjdwp/src/share/back/
EventRequestImpl.c 77 jthread thread; local
78 thread = inStream_readThreadRef(env, in);
82 eventFilter_setThreadOnlyFilter(node, i, thread));
183 jthread thread; local
186 thread = inStream_readThreadRef(env, in);
196 eventFilter_setStepFilter(node, i, thread, size, depth));
ThreadReferenceImpl.c 38 jthread thread; local
42 thread = inStream_readThreadRef(env, in);
47 if (threadControl_isDebugThread(thread)) {
60 (gdata->jvmti, thread, &info);
80 jthread thread; local
82 thread = inStream_readThreadRef(getEnv(), in);
87 if (threadControl_isDebugThread(thread)) {
91 error = threadControl_suspendThread(thread, JNI_FALSE);
102 jthread thread; local
104 thread = inStream_readThreadRef(getEnv(), in)
128 jthread thread; local
155 jthread thread; local
220 jthread thread; local
319 jthread thread; local
350 jthread thread; local
399 jthread thread; local
441 jthread thread; local
471 jthread thread; local
495 jthread thread; local
521 jthread thread; local
573 jthread thread; local
    [all...]
  /external/python/cpython2/Lib/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /external/python/cpython3/Lib/test/
test_asynchat.py 6 thread = support.import_module('_thread') variable
26 class echo_server(threading.Thread):
32 threading.Thread.__init__(self)
  /external/syslinux/core/include/
thread.h 11 /* The idle thread runs at this priority */
35 struct thread *thread; member in struct:thread_block
44 struct thread { struct
59 void __switch_to(struct thread *);
62 extern struct thread *__current;
63 static inline struct thread *current(void)
108 struct thread *start_thread(const char *name, size_t stack_size, int prio,
111 void kill_thread(struct thread *);
  /external/testng/src/test/java/test/thread/
ParallelTestTest.java 1 package test.thread;
50 public static final String CLASS1 = "test.thread.Test1Test";
51 public static final String CLASS2 = "test.thread.Test2Test";
  /external/valgrind/callgrind/
threads.c 51 * Per-thread data:
58 * datastructures for the process (= Thread 1).
61 /* current running thread */
64 static thread_info** thread; variable
68 return thread;
73 return thread[CLG_(current_tid)];
80 thread = CLG_MALLOC("cl.threads.it.1", VG_N_THREADS * sizeof thread[0]);
83 thread[i] = 0;
93 if (!thread[t]) continue
    [all...]
  /external/valgrind/coregrind/m_gdbserver/
inferiors.c 68 error ("tried to change thread ID after multiple threads are created\n");
122 struct thread_info *thread = get_thread (inf); local
124 return thread->gdb_id;
131 unsigned int thread_to_gdb_id (struct thread_info *thread)
133 return thread->gdb_id;
141 struct thread_info *thread = get_thread (inf); local
142 if (thread->gdb_id == gdb_id)
143 return thread;
152 struct thread_info *thread = gdb_id_to_thread (gdb_id); local
154 return thread ? thread->entry.id : 0
160 struct thread_info *thread = get_thread (inf); local
    [all...]
regcache.c 66 struct thread_info *thread = (struct thread_info *) entry; local
69 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread);
74 current_inferior = thread;
131 struct thread_info *thread = (struct thread_info *) entry; local
134 regcache = (struct inferior_regcache_data *) inferior_regcache_data (thread);
138 set_inferior_regcache_data (thread, new_register_cache ());
  /external/webrtc/webrtc/base/
thread.h 32 class Thread;
43 Thread* CurrentThread();
44 void SetCurrentThread(Thread* thread);
46 // Returns a thread object with its thread_ ivar set
47 // to whatever the OS uses to represent the thread.
48 // If there already *is* a Thread object corresponding to this thread,
49 // this method will return that. Otherwise it creates a new Thread
59 Thread *WrapCurrentThread()
76 Thread *thread; member in struct:rtc::_SendMessage
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
InactivityTimer.java 88 public Thread newThread(Runnable runnable) {
89 Thread thread = new Thread(runnable); local
90 thread.setDaemon(true);
91 return thread;
  /frameworks/av/media/libstagefright/foundation/
ALooper.cpp 36 struct ALooper::LooperThread : public Thread {
38 : Thread(canCallJava),
46 return Thread::readyToRun();
133 sp<LooperThread> thread; local
139 thread = mThread;
145 if (thread == NULL && !runningLocally) {
149 if (thread != NULL) {
150 thread->requestExit();
159 if (!runningLocally && !thread->isCurrentThread()) {
160 // If not running locally and this thread _is_ the looper thread
    [all...]
  /frameworks/base/apct-tests/perftests/core/src/android/text/
StaticLayoutMultithreadPerfTest.java 54 private Thread[] startBackgroundThread(int numOfThreads) {
58 Thread[] threads = new Thread[numOfThreads];
61 threads[i] = new Thread(new Runnable() {
90 private void finishThreads(Thread[] threads) {
92 for (Thread thread : threads) {
94 thread.join();
106 Thread[] threads = startBackgroundThread(numOfTotalThreads - 1);

Completed in 2164 milliseconds

<<11121314151617181920>>