| 141 | } |
| 142 | |
| 143 | virtual void ManualThreadInit(bf::System::Threading::Thread* thread) |
| 144 | { |
| 145 | bf::System::Threading::Thread* newThread = thread; |
| 146 | |
| 147 | mIsManualInit = true; |
| 148 | mStarted = true; |
| 149 | mStartedEvent.Set(true); |
| 150 | mThread = newThread; |
| 151 | newThread->SetInternalThread(this); |
| 152 | mThreadId = BfpThread_GetCurrentId(); |
| 153 | mThreadHandle = BfpThread_GetCurrent(); |
| 154 | mStackStart = ((intptr)&newThread + 0xFFF) & ~(intptr)0xFFF; |
| 155 | ThreadStarted(); |
| 156 | } |
| 157 | |
| 158 | virtual void ThreadStarted() |
| 159 | { |
nothing calls this directly
no test coverage detected