| 398 | } |
| 399 | |
| 400 | bool isMainThread() |
| 401 | { |
| 402 | #ifdef TORQUE_MULTITHREAD |
| 403 | return ThreadManager::isMainThread(); |
| 404 | #else |
| 405 | // If we're single threaded we're always in the main thread. |
| 406 | return true; |
| 407 | #endif |
| 408 | } |
| 409 | |
| 410 | //-------------------------------------- |
| 411 |
no outgoing calls
no test coverage detected