| 346 | } |
| 347 | |
| 348 | bool LoadingThread::Start(const String& name) |
| 349 | { |
| 350 | ASSERT(_thread == nullptr && name.HasChars()); |
| 351 | |
| 352 | // Create new thread |
| 353 | auto thread = Thread::Create(this, name, ThreadPriority::Normal); |
| 354 | if (thread == nullptr) |
| 355 | return true; |
| 356 | |
| 357 | _thread = thread; |
| 358 | |
| 359 | return false; |
| 360 | } |
| 361 | |
| 362 | void LoadingThread::Run(ContentLoadTask* job) |
| 363 | { |
no test coverage detected