| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/ |
| start_many_threads.cc | 19 void* Thread(void *unused) { 40 int status = pthread_create(&t[i], 0, Thread, (void*)i);
|
| mini_bench_local.cc | 17 void *Thread(void *arg) { 19 printf("Thread %ld started\n", idx); 22 printf("Thread %ld done\n", idx); 41 pthread_create(&t[i], 0, Thread, (void*)i);
|
| mini_bench_shared.cc | 17 void *Thread(void *arg) { 19 printf("Thread %ld started\n", idx); 22 printf("Thread %ld done\n", idx); 43 pthread_create(&t[i], 0, Thread, (void*)i);
|
| vts_many_threads_bench.cc | 54 void *Thread(void *arg) { 58 // Wait for the main thread to join the garbage threads. 61 printf("Thread %ld go!\n", idx); 67 printf("Thread %ld done\n", idx); 101 int status = pthread_create(&t[i], 0, Thread, (void*)i);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| malloc_stress_transfer_test.cc | 1 #include <thread> 10 void Thread() { 12 // std::cerr << "Thread starting, sp = " << &sp << std::endl; 29 // Thread(); 31 std::thread *Threads[kNumThreads]; 32 for (auto &T : Threads) T = new std::thread(&Thread);
|
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dsdebug.c | 138 ACPI_THREAD_STATE *Thread; 164 * If there is no Thread, we are not actually executing a method. 168 Thread = WalkState->Thread; 169 if (!Thread) 186 NextWalkState = Thread->WalkStateList;
|
| /src/sys/external/bsd/acpica/dist/debugger/ |
| dbobject.c | 81 ACPI_THREAD_STATE *Thread; 110 * If there is no Thread, we are not actually executing a method. 114 Thread = WalkState->Thread; 115 if (!Thread)
|
| /src/sys/external/bsd/acpica/dist/executer/ |
| exmutex.c | 57 ACPI_THREAD_STATE *Thread); 76 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; 79 if (!Thread) 106 Thread->AcquiredMutexList = ObjDesc->Mutex.Next; 116 * Thread - Current executing thread object 127 ACPI_THREAD_STATE *Thread) 132 ListHead = Thread->AcquiredMutexList; 148 Thread->AcquiredMutexList = ObjDesc; 158 * ThreadId - Current thread stat [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/ |
| dd_rtl.h | 27 struct Thread { 35 Thread *thr; 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|
| /src/sys/external/bsd/acpica/dist/parser/ |
| psparse.c | 457 ACPI_THREAD_STATE *Thread; 474 /* Create and initialize a new thread state */ 476 Thread = AcpiUtCreateThreadState (); 477 if (!Thread) 490 WalkState->Thread = Thread; 498 WalkState->Thread->CurrentSyncLevel = 502 AcpiDsPushWalkState (WalkState, Thread); 508 AcpiGbl_CurrentWalkList = Thread; 550 Status = AcpiDsCallControlMethod (Thread, WalkState, NULL) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/XRay/ |
| Profile.h | 40 /// instance, aggregating blocks by Thread ID. 50 /// Profile instances are thread-compatible. 63 ThreadID Thread;
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/hwasan/ |
| hwasan_thread.h | 24 class Thread { 34 // Must be called from the thread itself. 68 Print("Thread: "); 74 // NOTE: There is no Thread constructor. It is allocated 94 u32 tagging_disabled_; // if non-zero, malloc uses zero tag in this thread. 103 Thread *GetCurrentThread();
|
| hwasan_report.cpp | 105 // A RAII object that holds a copy of the current thread stack ring buffer. 138 const char *Thread() { return Green(); } 400 // Check stack first. If the address is on the stack of a live thread, we 402 hwasanThreadList().VisitAllLiveThreads([&](Thread *t) { 410 Printf("Address %p is located in stack of thread T%zd\n", untagged_addr, 452 hwasanThreadList().VisitAllLiveThreads([&](Thread *t) { 467 Printf("freed by thread T%zd here:\n", t->unique_id()); 477 // in the thread's deallocation ring buffer. 494 // Print the remaining threads, as an extra information, 1 line per thread. 495 hwasanThreadList().VisitAllLiveThreads([&](Thread *t) { t->Announce(); }) 583 const Thread *thread = GetCurrentThread(); local [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| FuzzerUtilFuchsia.cpp | 24 #include <thread> 41 // handler is the most involved, as it requires resuming the crashed thread in 91 // to allow the exception handling thread to gather the crash state directly. 223 // Once the port is set, we can signal the main thread to continue and wait 240 // At this point, we want to get the state of the crashing thread, but 241 // libFuzzer and the sanitizers assume this will happen from that same thread 242 // via a POSIX signal handler. "Resurrecting" the thread in the middle of the 246 ScopedHandle Thread; 248 ZX_RIGHT_SAME_RIGHTS, &Thread.Handle), 252 ExitOnErr(_zx_thread_read_state(Thread.Handle, ZX_THREAD_STATE_GENERAL_REGS [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| Profile.cpp | 29 Blocks.push_back({Block.Thread, {}}); 48 uint64_t Thread; 69 H.Thread = Extractor.getU64(&Offset); 72 Twine("Error parsing block header thread id at offset '") + 205 {Block.Thread, PathDataMapPtr{new PathDataMap()}}); 254 // In the end there's a single Block, for thread 0. 309 P.addBlock(Profile::Block{Profile::ThreadID{Header.Thread}, 331 // data structures to track the execution context of every thread in the 337 // We then do a pass through the Trace to account data on a per-thread-basis. 386 // Once we've gone through the Trace, we now create one Block per thread i [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
| hwasan_thread.h | 24 class Thread { 34 // Must be called from the thread itself. 69 Print("Thread: "); 78 // NOTE: There is no Thread constructor. It is allocated 101 u32 tagging_disabled_; // if non-zero, malloc uses zero tag in this thread. 110 Thread *GetCurrentThread();
|
| hwasan_report.cpp | 113 // A RAII object that holds a copy of the current thread stack ring buffer. 120 explicit SavedStackAllocations(Thread *t) { CopyFrom(t); } 122 void CopyFrom(Thread *t) { 161 const char *Thread() { return Green(); } 578 hwasanThreadList().VisitAllLiveThreads([&](Thread *t) { 671 Printf("allocated by thread T%u here:\n", candidate.heap.thread_id); 739 hwasanThreadList().VisitAllLiveThreads([&](Thread *t) { 745 // Check stack first. If the address is on the stack of a live thread, we 753 Printf("Address %p is located in stack of thread T%zd\n", untagged_addr, 778 Printf("freed by thread T%u here:\n", ha.free_thread_id) 842 const Thread *thread = GetCurrentThread(); local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/ |
| __init__.py | 260 class Thread(threading.Thread): 261 """A GDB-specific wrapper around threading.Thread 263 This wrapper ensures that the new thread blocks any signals that 264 must be delivered on GDB's main thread.""" 267 # GDB requires that these be delivered to the main thread. We 269 # the new thread. The thread mask is inherited by new
|
| /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/ |
| __init__.py | 265 class Thread(threading.Thread): 266 """A GDB-specific wrapper around threading.Thread 268 This wrapper ensures that the new thread blocks any signals that 269 must be delivered on GDB's main thread.""" 272 # GDB requires that these be delivered to the main thread. We 274 # the new thread. The thread mask is inherited by new
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| Minidump.h | 217 /// Describes a single thread in the minidump file. Part of the ThreadList 219 struct Thread { 228 static_assert(sizeof(Thread) == 48, "");
|
| /src/sys/external/bsd/acpica/dist/include/ |
| acstruct.h | 127 ACPI_THREAD_STATE *Thread;
|
| aclocal.h | 117 /* This Thread ID means that the mutex is not in use (unlocked) */ 121 /* This Thread ID means an invalid thread ID */ 768 * Thread state - one per thread across multiple walk states. Multiple walk 775 struct acpi_walk_state *WalkStateList; /* Head of list of WalkStates for this thread */ 777 ACPI_THREAD_ID ThreadId; /* Running thread ID */ 838 ACPI_THREAD_STATE Thread; 1444 * thread and Index of current thread inside all them created [all...] |