| /art/runtime/jdwp/ |
| jdwp_event.cc | 35 #include "thread-inl.h" 42 The event add/remove stuff usually happens from the debugger thread, 44 result of an event in an arbitrary thread (e.g. an event with a "count" 48 Event posting can happen from any thread. The JDWP thread will not usually 50 to be loaded, the ClassPrepare event will come from the JDWP thread. 54 For example, a thread could send an "I hit a breakpoint and am suspending 56 debugger's response ("not interested, resume thread") arrives and is 57 processed. We try to resume a thread that hasn't yet suspended. 60 for the event thread to suspend itself (and, potentially, all other threads 128 Thread* const thread; \/* ThreadOnly *\/ member in struct:art::JDWP::ModBasket [all...] |
| /art/runtime/native/ |
| sun_misc_Unsafe.cc | 519 Thread::Current()->Park(isAbsolute, time); 525 ThrowIllegalArgumentException("Argument to unpark() was not a Thread"); 529 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); local 530 if (thread != nullptr) { 531 thread->Unpark(); 533 // If thread is null, that means that either the thread is not started yet, 534 // or the thread has already terminated. Setting the field to true will b [all...] |
| /art/tools/jvmti-agents/ti-fast/ |
| tifast.cc | 43 struct jthreadContainer { jthread thread; }; member in struct:tifast::__anon176::jthreadContainer 75 fun(SingleStep, EVENT(SINGLE_STEP), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocation loc), (jvmti, jni, jthreadContainer{.thread = thread}, meth, loc)) \ 76 fun(MethodEntry, EVENT(METHOD_ENTRY), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth), (jvmti, jni, jthreadContainer{.thread = thread}, meth)) \ 77 fun(MethodExit, EVENT(METHOD_EXIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb, jvalue jv), (jvmti, jni, jthreadContainer{.thread = thread}, meth, jb, jv)) [all...] |
| /development/tools/bugreport/src/com/android/bugreport/inspector/ |
| Inspector.java | 103 * and thread names as we can. 124 for (ThreadSnapshot thread: process.threads) { 125 makeThreadInfo(pi, thread.sysTid, thread.name); 202 for (ThreadSnapshot thread: process.threads) { 203 for (StackFrameSnapshot frame: thread.frames) { 207 final LockSnapshot prev = thread.locks.get(lock.address); 211 thread.locks.put(lock.address, lock.clone()); 225 for (ThreadSnapshot thread: process.threads) { 226 markOutgoingBinderThread(thread); [all...] |
| /device/generic/goldfish/fingerprint/ |
| fingerprint.c | 69 pthread_t thread; member in struct:worker_thread_t 283 * Actual authentication must happen in TEE and should be monitored in a separate thread 302 * a separate thread since this function is expected to return immediately. 348 // will be stored by worked thread 716 ALOGD("Received request to exit listener thread"); 812 // Ask listener thread to exit 816 pthread_join(qdev->listener.thread, NULL); 858 // init and create listener thread 860 if (pthread_create(&qdev->listener.thread, NULL, listenerFunction, qdev) !=
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| imaplib.py | 77 'THREAD': ('SELECTED',),
733 def thread(self, threading_algorithm, charset, *search_criteria):
member in class:IMAP4 734 """IMAPrev1 extension THREAD command.
736 (type, [data]) = <instance>.thread(threading_algorithm, charset, search_criteria, ...)
738 name = 'THREAD'
761 if command in ('SEARCH', 'SORT', 'THREAD'):
[all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
| __init__.py | 42 import thread
45 thread = None
variable 194 # Thread-related stuff
205 if thread:
282 if logThreads and thread:
283 self.thread = thread.get_ident()
286 self.thread = None
381 %(thread)d Thread ID (if available) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_support.py | 22 import thread
24 thread = None
variable [all...] |
| /external/autotest/client/tests/cyclictest/src/ |
| cyclictest.c | 58 /* Struct to transfer parameters to the thread */ 80 pthread_t thread; member in struct:thread_stat 184 * timer thread 376 "-d DIST --distance=DIST distance of thread intervals in us default=500\n" 378 "-i INTV --interval=INTV base interval of thread in us default=1000\n" 381 "-p PRIO --prio=PRIO priority of highest prio thread\n" 578 pthread_create(&stat[i].thread, NULL, timerthread, &par[i]); 614 pthread_kill(stat[i].thread, SIGTERM); 616 pthread_join(stat[i].thread, NULL);
|
| /external/conscrypt/common/src/main/java/org/conscrypt/ |
| AbstractConscryptSocket.java | 598 // The RI runs the handlers in a separate thread, 601 // the handshaking thread just because a listener 603 Thread thread = Thread.currentThread(); local 604 thread.getUncaughtExceptionHandler().uncaughtException(thread, e);
|
| /external/libaom/libaom/third_party/googletest/src/googletest/src/ |
| gtest-port.cc | 247 // Static mutexes are leaked intentionally. It is not thread-safe to try 268 // caller's responsibility to ensure that the current thread holds the 274 // Does nothing if the current thread holds the mutex. Otherwise, crashes 279 << "The current thread is not holding the mutex @" << this; 306 // Possibly yields the rest of the thread's time slice to other 387 << "Failed to join the thread with error " << ::GetLastError() << "."; 390 // Maps a thread to a set of ThreadIdToThreadLocals that have values 391 // instantiated on that thread and notifies them when the thread exits. A 396 // Registers thread_local_instance as having value on the current thread 495 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, local [all...] |
| /external/libchrome/base/ |
| logging_unittest.cc | 36 #include <lib/zx/thread.h> 297 // takes down the whole process, preventing the thread exception handler from 313 // For signaling the thread ended properly. 315 // For registering thread termination. 317 // Location where the thread is expected to crash. 328 status = zx::thread::self()->bind_exception_port(*data->port, 339 // We should never reach this point, signal the thread incorrectly ended 345 // Runs the CrashThread function in a separate thread. 356 // Register the thread ended event on the port. 361 // Run the thread 364 pthread_t thread; local [all...] |
| /external/libpcap/rpcapd/ |
| daemon.c | 81 * Data for a session managed by a thread. 92 // Structure to refer to a thread. 93 // It includes both a Boolean indicating whether we *have* a thread, 95 // thread; on Windows, we could use an invalid handle to indicate 96 // that we don't have a thread, but there *is* no portable "no thread" 102 HANDLE thread; member in struct:thread_handle 104 pthread_t thread; member in struct:thread_handle 153 struct thread_handle threaddata; // 'read from daemon and send to client' thread 173 // We don't have a thread yet [all...] |
| /external/libvpx/libvpx/third_party/googletest/src/src/ |
| gtest-port.cc | 262 // Static mutexes are leaked intentionally. It is not thread-safe to try 283 // caller's responsibility to ensure that the current thread holds the 289 // Does nothing if the current thread holds the mutex. Otherwise, crashes 294 << "The current thread is not holding the mutex @" << this; 362 // Possibly yields the rest of the thread's time slice to other 443 << "Failed to join the thread with error " << ::GetLastError() << "."; 446 // Maps a thread to a set of ThreadIdToThreadLocals that have values 447 // instantiated on that thread and notifies them when the thread exits. A 452 // Registers thread_local_instance as having value on the current thread 551 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, local [all...] |
| /external/libvpx/libvpx/vp8/decoder/ |
| decodeframe.c | 1222 unsigned int thread; local [all...] |
| /external/lua/src/ |
| lgc.c | 309 ** thread.) Remove from the list threads that no longer have upvalues and 313 lua_State *thread; local 315 while ((thread = *p) != NULL) { 316 lua_assert(!isblack(thread)); /* threads are never black */ 317 if (isgray(thread) && thread->openupval != NULL) 318 p = &thread->twups; /* keep marked thread with upvalues in the list */ 319 else { /* thread is not marked or without upvalues */ 321 *p = thread->twups; /* remove thread from the list * [all...] |
| /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
| threads.cpp | 25 #include <thread> 286 // Not the individual HW thread. 299 SWR_INVALID("Failed to set Thread Affinity"); 305 pthread_t thread = pthread_self(); local 309 int err = pthread_setaffinity_np(thread, sizeof(cpu_set_t), &cpuset); 457 /// @param workerId - The unique worker ID that is assigned to this thread. 458 /// @param curDrawBE - This tracks the draw contexts that this thread has processed. Each worker thread 461 /// @param lockedTiles - This is the set of tiles locked by other threads. Each thread maintains its 468 /// @returns true if worker thread should shutdow [all...] |
| /external/mesa3d/src/gtest/src/ |
| gtest-port.cc | 247 // Static mutexes are leaked intentionally. It is not thread-safe to try 268 // caller's responsibility to ensure that the current thread holds the 274 // Does nothing if the current thread holds the mutex. Otherwise, crashes 279 << "The current thread is not holding the mutex @" << this; 306 // Possibly yields the rest of the thread's time slice to other 387 << "Failed to join the thread with error " << ::GetLastError() << "."; 390 // Maps a thread to a set of ThreadIdToThreadLocals that have values 391 // instantiated on that thread and notifies them when the thread exits. A 396 // Registers thread_local_instance as having value on the current thread 495 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, local [all...] |
| /external/oj-libjdwp/src/share/back/ |
| eventHandler.c | 93 * some java thread in the middle of VM_DEATH, this seems troubled. 286 * posted and before the thread has resumed execution. 301 * if SINGLE_STEP events are also enabled for the thread, then 309 * is recorded in the ThreadNode. If the next event for the thread 319 * thread is handled in skipEventReport(). 323 deferEventReport(JNIEnv *env, jthread thread, 337 threadControl_getInstructionStepMode(thread) 340 threadControl_saveCLEInfo(env, thread, ei, 349 threadControl_saveCLEInfo(env, thread, ei, 368 skipEventReport(JNIEnv *env, jthread thread, EventIndex ei 549 jthread thread; local [all...] |
| /external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
| ObjectReferenceImpl.java | 356 PacketStream sendInvokeCommand(final ThreadReferenceImpl thread, 366 thread, refType, 373 stream = thread.sendResumingCommand(sender); 391 ThreadReferenceImpl thread = (ThreadReferenceImpl)threadIntf; local 396 return type.invokeMethod(thread, method, origArguments, options); 399 return type.invokeMethod(thread, method, origArguments, options); 414 sendInvokeCommand(thread, invokableReferenceType(method),
|
| /external/pdfium/third_party/libopenjpeg20/ |
| thread.c | 120 /* Make sure that the TLS key is allocated in a thread-safe way */ 122 /* thread-safe, so use InterlockedCompareExchange trick */ 226 opj_thread_t* thread = (opj_thread_t*) info; local 229 thread->thread_fn(thread->user_data); 256 opj_thread_t* thread; local 260 thread = (opj_thread_t*) opj_malloc(sizeof(opj_thread_t)); 261 if (!thread) { 264 thread->thread_fn = thread_fn; 265 thread->user_data = user_data 386 pthread_t thread; member in struct:opj_thread_t 391 opj_thread_t* thread = (opj_thread_t*) info; local 399 opj_thread_t* thread; local 580 opj_thread_t *thread; member in struct:__anon35320 [all...] |
| /external/python/cpython2/Lib/ |
| imaplib.py | 88 'THREAD': ('SELECTED',), 749 def thread(self, threading_algorithm, charset, *search_criteria): member in class:IMAP4 750 """IMAPrev1 extension THREAD command. 752 (type, [data]) = <instance>.thread(threading_algorithm, charset, search_criteria, ...) 754 name = 'THREAD' 777 if command in ('SEARCH', 'SORT', 'THREAD'): [all...] |
| /external/python/cpython2/Lib/logging/ |
| __init__.py | 42 import thread 45 thread = None variable 189 # Thread-related stuff 200 if thread: 283 if logThreads and thread: 284 self.thread = thread.get_ident() 287 self.thread = None 382 %(thread)d Thread ID (if available [all...] |
| /external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
| gtest-port.cc | 247 // Static mutexes are leaked intentionally. It is not thread-safe to try 268 // caller's responsibility to ensure that the current thread holds the 274 // Does nothing if the current thread holds the mutex. Otherwise, crashes 279 << "The current thread is not holding the mutex @" << this; 306 // Possibly yields the rest of the thread's time slice to other 387 << "Failed to join the thread with error " << ::GetLastError() << "."; 390 // Maps a thread to a set of ThreadIdToThreadLocals that have values 391 // instantiated on that thread and notifies them when the thread exits. A 396 // Registers thread_local_instance as having value on the current thread 495 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, local [all...] |
| /external/tensorflow/tensorflow/core/nccl/ |
| nccl_manager.cc | 46 // a background thread that calls NcclManager::LoopKernelLaunches. 63 std::unique_ptr<Thread> thread; member in struct:tensorflow::NcclManager::NcclStream 292 nccl_stream->thread.reset(env->StartThread( 328 // issue each init call from a different thread
|