| 435 | } |
| 436 | |
| 437 | bool isMainThread() |
| 438 | { |
| 439 | #ifdef TORQUE_MULTITHREAD |
| 440 | return ThreadManager::isMainThread(); |
| 441 | #else |
| 442 | // If we're single threaded we're always in the main thread. |
| 443 | return true; |
| 444 | #endif |
| 445 | } |
| 446 | |
| 447 | //-------------------------------------- |
| 448 |
no outgoing calls
no test coverage detected