Searched refs:Thread (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.h26 struct Thread { struct in namespace:__dsan
34 Thread *thr;
36 Callback(Thread *thr);
57 void ThreadInit(Thread *thr);
58 void ThreadDestroy(Thread *thr);
60 void MutexBeforeLock(Thread *thr, uptr m, bool writelock);
61 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
62 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock);
63 void MutexDestroy(Thread *thr, uptr m);
H A Ddd_rtl.cpp21 static u32 CurrentStackTrace(Thread *thr, uptr skip) {
31 static void PrintStackTrace(Thread *thr, u32 stk) {
38 static void ReportDeadlock(Thread *thr, DDReport *rep) {
45 Printf("Thread %d locks mutex %llu while holding mutex %llu:\n",
57 Callback::Callback(Thread *thr)
99 void ThreadInit(Thread *thr) {
106 void ThreadDestroy(Thread *thr) {
111 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) {
124 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) {
137 void MutexBeforeUnlock(Thread *th
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread_list.h70 Thread *list_;
74 void Push(Thread *t) {
79 Thread *Pop() {
80 Thread *t = list_;
86 void Remove(Thread *t) {
87 Thread **cur = &list_;
95 Thread *t = list_;
116 // * a Thread object at offset ring_buffer_size_.
119 RoundUpTo(ring_buffer_size_ + sizeof(Thread), ring_buffer_size_ * 2);
122 Thread *CreateCurrentThrea
[all...]
H A Dhwasan_thread.cpp28 void Thread::InitRandomState() {
37 void Thread::Init(uptr stack_buffer_start, uptr stack_buffer_size) {
70 Printf("sizeof(Thread): %zd sizeof(HeapRB): %zd sizeof(StackRB): %zd\n",
71 sizeof(Thread), heap_allocations_->SizeInBytes(),
78 void Thread::ClearShadowForThreadStackAndTLS() {
85 void Thread::Destroy() {
95 void Thread::Print(const char *Prefix) {
110 tag_t Thread::GenerateRandomTag() {
H A Dhwasan_thread.h24 class Thread { class in namespace:__hwasan
63 Print("Thread: ");
69 // NOTE: There is no Thread constructor. It is allocated
89 static void InsertIntoThreadList(Thread *t);
90 static void RemoveFromThreadList(Thread *t);
91 Thread *next_; // All live threads form a linked list.
102 Thread *GetCurrentThread();
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DFuncUnwinders.h38 lldb::UnwindPlanSP GetUnwindPlanAtCallSite(Target &target, Thread &thread);
41 lldb_private::Thread &thread);
44 lldb_private::Thread &thread);
47 GetUnwindPlanArchitectureDefault(lldb_private::Thread &thread);
50 GetUnwindPlanArchitectureDefaultAtFunctionEntry(lldb_private::Thread &thread);
77 lldb::UnwindPlanSP GetAssemblyUnwindPlan(Target &target, Thread &thread);
82 Thread &thread);
87 Thread &thread);
92 Thread &thread);
98 lldb::UnwindPlanSP GetSymbolFileUnwindPlan(Thread
[all...]
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java66 Thread.currentThread().sleep(50);
79 Thread t = Thread.currentThread();
88 if (Thread.holdsLock(LocalConsumer.class)) {
101 Thread t = new Thread(aggregateSampler, "Aggregate Sampler");
126 protected Thread createThread() {
129 Thread t = Thread.currentThread();
134 Thread
[all...]
/freebsd-12-stable/sys/contrib/dev/acpica/components/executer/
H A Dexmutex.c165 ACPI_THREAD_STATE *Thread);
184 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; local
187 if (!Thread)
214 Thread->AcquiredMutexList = ObjDesc->Mutex.Next;
224 * Thread - Current executing thread object
235 ACPI_THREAD_STATE *Thread)
240 ListHead = Thread->AcquiredMutexList;
256 Thread->AcquiredMutexList = ObjDesc;
374 if (!WalkState->Thread)
386 if (WalkState->Thread
233 AcpiExLinkMutex( ACPI_OPERAND_OBJECT *ObjDesc, ACPI_THREAD_STATE *Thread) argument
644 AcpiExReleaseAllMutexes( ACPI_THREAD_STATE *Thread) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
H A DInstrumentationRuntimeStopInfo.cpp19 Thread &thread, std::string description,
32 Thread &thread, std::string description,
H A DThread.cpp1 //===-- Thread.cpp ----------------------------------------------*- C++ -*-===//
9 #include "lldb/Target/Thread.h"
59 const ThreadPropertiesSP &Thread::GetGlobalProperties() {
81 // is part of a new lldb_private::Thread instance. It will copy all current
93 Thread *thread = exe_ctx->GetThreadPtr();
113 Thread::GetGlobalProperties().get());
156 // Thread Event Data
158 ConstString Thread::ThreadEventData::GetFlavorString() {
159 static ConstString g_flavor("Thread::ThreadEventData");
163 Thread
224 Thread::Thread(Process &process, lldb::tid_t tid, bool use_invalid_index_id) function in class:Thread
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DStopInfo.h26 StopInfo(Thread &thread, uint64_t value);
80 virtual bool IsValidForOperatingSystemThread(Thread &thread) { return true; }
104 CreateStopReasonWithBreakpointSiteID(Thread &thread,
110 Thread &thread, lldb::break_id_t break_id, bool should_stop);
113 Thread &thread, lldb::break_id_t watch_id,
117 CreateStopReasonWithSignal(Thread &thread, int signo,
120 static lldb::StopInfoSP CreateStopReasonToTrace(Thread &thread);
128 CreateStopReasonWithException(Thread &thread, const char *description);
130 static lldb::StopInfoSP CreateStopReasonWithExec(Thread &thread);
179 // Thread
[all...]
H A DThreadPlanTracer.h14 #include "lldb/Target/Thread.h"
31 ThreadPlanTracer(Thread &thread, lldb::StreamSP &stream_sp);
32 ThreadPlanTracer(Thread &thread);
62 Thread &m_thread;
78 ThreadPlanAssemblyTracer(Thread &thread, lldb::StreamSP &stream_sp);
79 ThreadPlanAssemblyTracer(Thread &thread);
H A DOperatingSystem.h54 virtual void ThreadWasSelected(Thread *thread) = 0;
57 CreateRegisterContextForThread(Thread *thread,
60 virtual lldb::StopInfoSP CreateThreadStopReason(Thread *thread) = 0;
H A DUnwindAssembly.h26 GetNonCallSiteUnwindPlanFromAssembly(AddressRange &func, Thread &thread,
29 virtual bool AugmentUnwindPlanFromCallSite(AddressRange &func, Thread &thread,
32 virtual bool GetFastUnwindPlan(AddressRange &func, Thread &thread,
H A DInstrumentationRuntimeStopInfo.h32 Thread &thread, std::string description,
36 InstrumentationRuntimeStopInfo(Thread &thread, std::string description,
H A DThreadSpec.h19 // Thread ID
20 // Thread Index
21 // Thread Name
22 // Thread Queue Name
27 // Thread::MatchesSpec,
68 bool TIDMatches(Thread &thread) const;
77 bool IndexMatches(Thread &thread) const;
88 bool NameMatches(Thread &thread) const;
99 bool QueueNameMatches(Thread &thread) const;
101 bool ThreadPassesBasicTests(Thread
[all...]
H A DRegisterNumber.h21 RegisterNumber(lldb_private::Thread &thread, lldb::RegisterKind kind,
30 void init(lldb_private::Thread &thread, lldb::RegisterKind kind,
H A DThreadPlanBase.h13 #include "lldb/Target/Thread.h"
44 ThreadPlanBase(Thread &thread);
48 Thread::QueueFundamentalPlan(bool abort_other_plans);
H A DThreadPlanStepInstruction.h12 #include "lldb/Target/Thread.h"
20 ThreadPlanStepInstruction(Thread &thread, bool step_over, bool stop_others,
40 friend lldb::ThreadPlanSP Thread::QueueThreadPlanForStepSingleInstruction(
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DThreadMinidump.h14 #include "lldb/Target/Thread.h"
21 class ThreadMinidump : public Thread {
23 ThreadMinidump(Process &process, const minidump::Thread &td,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-arc/
H A DABISysV_arc.h25 bool PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
32 PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
37 bool GetArgumentValues(lldb_private::Thread &thread,
45 GetReturnValueObjectImpl(lldb_private::Thread &thread,
49 lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread,
95 GetReturnValueObjectSimple(lldb_private::Thread &thread,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-hexagon/
H A DABISysV_hexagon.h22 bool PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
29 PrepareTrivialCall(lldb_private::Thread &thread, lldb::addr_t sp,
34 bool GetArgumentValues(lldb_private::Thread &thread,
42 GetReturnValueObjectImpl(lldb_private::Thread &thread,
46 lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread,
94 GetReturnValueObjectSimple(lldb_private::Thread &thread,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc83 pthread_t Thread;
84 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0)
89 if ((errnum = ::pthread_join(Thread, nullptr)) != 0) {
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DStopInfoMachException.h21 StopInfoMachException(Thread &thread, uint32_t exc_type,
39 Thread &thread, uint32_t exc_type, uint32_t exc_data_count,
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
H A Dstart_many_threads.cpp19 void* Thread(void *unused) { function
40 int status = pthread_create(&t[i], 0, Thread, (void*)i);

Completed in 185 milliseconds

1234567891011>>