Searched refs:getThis (Results 1 – 15 of 15) sorted by relevance
314 static ThreadBase getThis() @safe nothrow @nogc in getThis() function794 return ThreadBase.getThis() is ThreadBase.sm_main; in thread_isMainThread()810 if (auto t = ThreadT.getThis()) in thread_attachThis_tpl()830 if (auto t = ThreadBase.getThis()) in thread_detachThis()993 resume(ThreadBase.getThis());1053 thisThread = ThreadBase.getThis(); in scanAllTypeImpl()1161 assert(ThreadBase.getThis()); in thread_enterCriticalRegion()1166 ThreadBase.getThis().m_isInCriticalRegion = true;1180 assert(ThreadBase.getThis()); in thread_exitCriticalRegion()1185 ThreadBase.getThis().m_isInCriticalRegion = false;[all …]
209 Fiber obj = Fiber.getThis(); in fiber_entryPoint()212 assert( Thread.getThis().m_curr is obj.m_ctxt ); in fiber_entryPoint()213 atomicStore!(MemoryOrder.raw)(*cast(shared)&Thread.getThis().m_lock, false); in fiber_entryPoint()424 Fiber cfib = Fiber.getThis(); in fiber_switchContext()745 Fiber cur = getThis();853 Fiber cur = getThis(); in yield()883 Fiber cur = getThis();910 static Fiber getThis() @safe nothrow @nogc in getThis() function1399 *cast(size_t*)(pstack + wsize) = cast(size_t) Thread.getThis().m_addr; in version()1604 Thread tobj = Thread.getThis(); in switchIn()[all …]
370 static Thread getThis() @safe nothrow @nogc in getThis() function372 return ThreadBase.getThis().toThread; in getThis()909 auto thr = Thread.getThis();1984 suspend( Thread.getThis() ); in thread_suspendAll()2125 auto thisThread = Thread.getThis(); in thread_init()2442 Thread obj = Thread.getThis(); in version()
377 const Pointer &This = S.Current->getThis(); in GetThisField()392 const Pointer &This = S.Current->getThis(); in SetThisField()427 const Pointer &This = S.Current->getThis(); in InitThisField()440 const Pointer &This = S.Current->getThis(); in InitThisBitField()454 const Pointer &This = S.Current->getThis(); in InitThisFieldActive()532 const Pointer &This = S.Current->getThis(); in GetPtrThisField()555 const Pointer &This = S.Current->getThis(); in GetPtrActiveThisField()576 const Pointer &This = S.Current->getThis(); in GetPtrThisBase()605 const Pointer &This = S.Current->getThis(); in GetPtrThisVirtBase()608 return VirtBaseHelper(S, OpPC, D, S.Current->getThis()); in GetPtrThisVirtBase()[all …]
97 const Pointer &getThis() const { return This; } in getThis() function
1251 if (Fiber.getThis()) in yield()1264 auto f = cast(InfoFiber) Fiber.getThis(); in thisInfo()1447 auto fiber = Fiber.getThis(); in yield()1646 Generator!T cur = cast(Generator!T) Fiber.getThis(); in yield()
4464 nJobsByThread[ cast(void*) Thread.getThis()] = 0; in version()4468 atomicOp!"+="( nJobsByThread[ cast(void*) Thread.getThis() ], 1); in version()4472 cast(void*) Thread.getThis()); in version()
1301 uint threadID = cast(uint) cast(void*) Thread.getThis(); in unpredictableSeed()
1446 if (Fiber.getThis()) in yield()1459 auto f = cast(InfoFiber) Fiber.getThis(); in thisInfo()1666 auto fiber = Fiber.getThis(); in yield()1900 Generator!T cur = cast(Generator!T) Fiber.getThis(); in yield()
4738 nJobsByThread[ cast(void*) Thread.getThis()] = 0; in version()4742 atomicOp!"+="( nJobsByThread[ cast(void*) Thread.getThis() ], 1); in version()4746 cast(void*) Thread.getThis()); in version()
1726 updateResult(cast(ulong) cast(void*) Thread.getThis()); in bootstrapSeed()
442 * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.446 * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
92 Expression *getThis();135 Expression *CtfeStack::getThis() in getThis() function784 thisarg = ctfeStack.getThis(); in interpretFunction()1866 result = ctfeStack.getThis(); in visit()
289 extern (C++) Expression getThis() in getThis() function458 thisarg = ctfeGlobals.stack.getThis(); in interpretFunction()549 (*elements)[1] = ctfeGlobals.stack.getThis(); in interpretFunction()1779 result = ctfeGlobals.stack.getThis(); in visit()
3005 if (Thread.getThis() is null)