Home
last modified time | relevance | path

Searched refs:ThreadID (Results 1 – 14 of 14) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/stress/mqueues/
Dmulti_send_rev_2.c41 int ThreadID = *(int *)ID; in send() local
43 printf("Enter into send [%d] \n", ThreadID); in send()
50 s_msg_ptr[i], ThreadID); in send()
59 int ThreadID = *(int *)ID; in receive() local
61 printf("Enter into receive[%d] \n", ThreadID); in receive()
64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { in receive()
69 r_msg_ptr[ThreadID][i], ThreadID); in receive()
71 printf("receive[%d] quit ...\n", ThreadID); in receive()
81 int ThreadID[Max_Threads]; in main() local
108 ThreadID[i] = i; in main()
[all …]
Dmulti_send_rev_1.c34 int ThreadID; member
44 send_info.ThreadID = ((mq_info *) info)->ThreadID; in send()
46 printf("Enter into send [%d], mq = %d \n", send_info.ThreadID, in send()
54 s_msg_ptr[i], send_info.ThreadID); in send()
66 recv_info.ThreadID = ((mq_info *) info)->ThreadID; in receive()
68 printf("Enter into receive [%d], mq = %d \n", recv_info.ThreadID, in receive()
77 i + 1, r_msg_ptr[i], recv_info.ThreadID); in receive()
121 info[i].ThreadID = i; in main()
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/
Dmulti_con_pro.c44 int ThreadID = *(int *)ID; in producer() local
47 printf("Enter into Producer Thread %d... \n", ThreadID); in producer()
62 data = 100 * ThreadID + i; in producer()
65 ThreadID, data, in); in producer()
91 printf("[%d] producer has added %d to the buffer[%d] \n", ThreadID, in producer()
102 printf("Producer %d exit... \n", ThreadID); in producer()
109 int ThreadID = *(int *)ID; in consumer() local
112 printf("Enter into Consumer Thread %d... \n", ThreadID); in consumer()
124 ThreadID, data, out); in consumer()
142 printf("Consumer %d exit... \n", ThreadID); in consumer()
[all …]
/external/perfetto/include/perfetto/base/
Dthread_checker.h35 using ThreadID = unsigned long; variable
37 using ThreadID = pthread_t;
50 mutable std::atomic<ThreadID> thread_id_;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DThreadPool.cpp32 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() local
/external/llvm/lib/Support/
DThreadPool.cpp31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() local
/external/perfetto/src/base/
Dthread_checker.cc27 constexpr ThreadID kDetached{};
29 ThreadID CurrentThreadId() { in CurrentThreadId()
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp177 llvm::Value *ThreadID = getNVPTXThreadID(CGF); in emitWorkerLoop() local
179 ThreadID, in emitWorkerLoop()
211 llvm::Value *ThreadID = getNVPTXThreadID(CGF); in emitEntryHeader() local
222 Bld.CreateICmpUGT(ThreadID, MasterID, "excess_in_master_warp"); in emitEntryHeader()
227 llvm::Value *IsWorker = Bld.CreateICmpULT(ThreadID, MasterID, "is_worker"); in emitEntryHeader()
DCGOpenMPRuntime.cpp868 auto *ThreadID = getThreadID(CGF, D.getLocStart()); in emitTaskOutlinedFunction() local
871 UpLoc, ThreadID, in emitTaskOutlinedFunction()
988 llvm::Value *ThreadID = nullptr; in getThreadID() local
993 ThreadID = I->second.ThreadID; in getThreadID()
994 if (ThreadID != nullptr) in getThreadID()
995 return ThreadID; in getThreadID()
1002 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID()
1007 Elem.second.ThreadID = ThreadID; in getThreadID()
1009 return ThreadID; in getThreadID()
1019 ThreadID = in getThreadID()
[all …]
DCGOpenMPRuntime.h153 llvm::Value *ThreadID; member
/external/stressapptest/src/
Dsat.cc493 (*it)->ThreadID(), (*it)->GetStatus(), in InitializePages()
1509 logprintf(12, "Log: Joining thread %d\n", (*it)->ThreadID()); in JoinThreads()
1542 logprintf(12, "Log: Spawning thread %d\n", (*it)->ThreadID()); in JoinThreads()
1549 logprintf(12, "Log: Joining thread %d\n", (*it)->ThreadID()); in JoinThreads()
1566 logprintf(12, "Log: Reaping thread status %d\n", (*it)->ThreadID()); in JoinThreads()
1570 (*it)->ThreadID(), (*it)->GetStatus(), in JoinThreads()
1578 (*it)->ThreadID(), (*it)->GetErrorCount()); in JoinThreads()
1587 logprintf(12, "Log: Reaping thread status %d\n", (*it)->ThreadID()); in JoinThreads()
1591 (*it)->ThreadID(), (*it)->GetStatus(), in JoinThreads()
1600 (*it)->ThreadID(), (*it)->GetErrorCount()); in JoinThreads()
[all …]
Dworker.h293 int ThreadID() {return thread_num_;} in ThreadID() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp211 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local
213 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp211 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local
213 {Builder.getInt64(0), ThreadID}); in lowerGlobal()