Lines Matching refs:ThreadId
109 class ThreadId { class
156 ThreadId() : id(ThreadId::tlsNumber()) {} in ThreadId() function in rml::internal::ThreadId
157 bool isCurrentThreadId() const { return id == ThreadId::tlsNumber(); } in isCurrentThreadId()
160 friend unsigned int getThreadId() { return ThreadId::tlsNumber(); } in getThreadId()
165 friend int STAT_increment(ThreadId tid, int bin, int ctr);
169 tls_key_t ThreadId::Tid_key;
170 intptr_t ThreadId::ThreadCount;
173 int STAT_increment(ThreadId tid, int bin, int ctr) in STAT_increment()
181 class ThreadId { class
188 ThreadId() : tid(GetMyTID()) {} in ThreadId() function in rml::internal::ThreadId
189 ThreadId(ThreadId &other) = delete;
190 ~ThreadId() = default;
197 ThreadId& operator=(const ThreadId& other) { in operator =()
336 ThreadId ownerTid; /* the ID of the thread that owns or last owned the block */
437 ownerTid = ThreadId(); /* save the ID of the current thread */ in markOwned()
2049 if (!initOk || !initBackRefMain(&defaultMemPool->extMemPool.backend) || !ThreadId::init()) in initMemoryManager()
2922 ThreadId::destroy(); // Delete key for thread id in __TBB_mallocProcessShutdownNotification()
2929 unsigned nThreads = ThreadId::getMaxThreadId(); in __TBB_mallocProcessShutdownNotification()