| 255 | //---------------------- |
| 256 | |
| 257 | std::thread::native_handle_type getCurrentThread() |
| 258 | { |
| 259 | #if KRAM_WIN |
| 260 | return ::GetCurrentThread(); |
| 261 | #else |
| 262 | return pthread_self(); |
| 263 | #endif |
| 264 | } |
| 265 | |
| 266 | // Ugh C++ "portable" thread classes that don't do anything useful |
| 267 | // and make you define all this over and over again in so many apps. |
no outgoing calls
no test coverage detected