See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx
| 90 | typedef std::uint32_t thread_id_t; |
| 91 | static const thread_id_t invalid_thread_id = 0; // See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx |
| 92 | static inline thread_id_t thread_id() { return static_cast<thread_id_t>(::GetCurrentThreadId()); } |
| 93 | } } } |
| 94 | #elif defined(__arm__) || defined(_M_ARM) || defined(__aarch64__) || (defined(__APPLE__) && TARGET_OS_IPHONE) |
| 95 | namespace moodycamel { namespace corealgos { namespace details { |