Searched refs:Thread (Results 1 – 13 of 13) sorted by relevance
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/os/ |
| D | os_Thread.cpp | 90 struct Thread::FunctionInfo 115 Thread Thread::s_MainThread = Thread::InitializeAsCurrentTag(); 116 Thread::AutoStackManager* Thread::s_pAutoStackManager = NULL; 125 inline void Thread::OnThreadStart() in OnThreadStart() 134 inline void Thread::OnThreadExit() in OnThreadExit() 139 void Thread::NoParameterFunc(void (*f)()) in NoParameterFunc() 145 asm void Thread::CallDestructorAndExit(void* pStackBottom NN_IS_UNUSED_VAR) in CallDestructorAndExit() 169 void Thread::ThreadStart(uptr p) in ThreadStart() 188 Result Thread::TryInitializeAndStartImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, upt… in TryInitializeAndStartImpl() 230 void Thread::SleepImpl(nn::fnd::TimeSpan span) in SleepImpl() [all …]
|
| D | os_ThreadPool.cpp | 22 inline Thread* ThreadPool::GetThreads() const in GetThreads() 24 return reinterpret_cast<Thread*>(m_Buffer); in GetThreads() 29 return reinterpret_cast<nn::Handle*>(m_Buffer + sizeof(Thread) * m_NumThreads); in GetWaitHandleBuffer() 34 …return reinterpret_cast<QueueableWaitTask**>(m_Buffer + sizeof(Thread) * m_NumThreads + sizeof(nn:… in GetWaitTaskBuffer() 39 return sizeof(Thread) * numThreads in GetWorkBufferSize() 76 Thread* thread = new (GetThreads() + i) Thread(); in StartExecuteThread() 117 Thread& thread = GetThreads()[i]; in Finalize()
|
| D | os_Default.cpp | 31 class DefaultAutoStackManager : public nn::os::Thread::AutoStackManager 142 nn::os::Thread::SetAutoStackManager(&s_AutoStackManager); in SetDefaultAutoStackManager()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/os/ |
| D | os_Thread.h | 171 class Thread : public WaitObject 188 Thread() : m_CanFinalize(true) {} in Thread() function 196 ~Thread(); 406 bool IsAlive() const { return !const_cast<Thread*>(this)->WaitOne(0); } in IsAlive() 640 static Thread& GetMainThread() { return s_MainThread; } in GetMainThread() 655 static Thread s_MainThread; 659 Thread(const InitializeAsCurrentTag&); 715 struct Thread::TypeInfo 774 inline void Thread::Start(void (*f)(T), U param, Stack& stack, s32 priority, s32 coreNo) in Start() 782 inline void Thread::Start(void (*f)(const T*), const T& param, Stack& stack, s32 priority, s32 core… in Start() [all …]
|
| D | os_ThreadLocalStorage.h | 75 friend class Thread; variable
|
| D | os_ThreadPool.h | 170 Thread* GetThreads() const; 182 Thread m_WaitThread; 236 nn::os::Thread m_WorkerThread;
|
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/test/ |
| D | test_Init.cpp | 24 const s32 prevPrio = nn::os::Thread::GetCurrentPriority(); in nniopdevMain() 25 nn::os::Thread::ChangeCurrentPriority(nn::os::DEFAULT_THREAD_PRIORITY); in nniopdevMain() 29 nn::os::Thread::ChangeCurrentPriority(prevPrio); in nniopdevMain()
|
| D | test_Suite.cpp | 39 …s(false), m_Continue(false), m_IsInitialized(false), m_MainThreadId(nn::os::Thread::GetCurrentId()) in Suite() 56 return m_MainThreadId == nn::os::Thread::GetCurrentId(); in IsOnMainThread() 178 bit32 threadId = nn::os::Thread::GetCurrentId(); in GetCurrent() 195 bit32 threadId = nn::os::Thread::GetCurrentId(); in SetCurrent() 237 bit32 threadId = nn::os::Thread::GetCurrentId(); in ~ResultHolder()
|
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/rdt/CTR/ |
| D | rdt_Stopwatch.cpp | 256 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(10)); in Test() 263 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMicroSeconds(50)); in Test()
|
| D | rdt_Utility.cpp | 303 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(msec));
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/net/osl/ |
| D | osl_IpcDispatcher.h | 207 nn::os::Thread m_thread; 267 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(1000)); in Launch()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/socket/ |
| D | socket_SessionPool.h | 190 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(100)); in Finalize()
|
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/test/tests/ |
| D | test_Test.cpp | 493 nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromSeconds(1)); in nnMain()
|