|
|
@ -372,12 +372,6 @@ inline void SetThreadPriority(int nPriority) |
|
|
|
|
|
|
|
|
|
|
|
void RenameThread(const char* name); |
|
|
|
void RenameThread(const char* name); |
|
|
|
|
|
|
|
|
|
|
|
inline uint32_t ByteReverse(uint32_t value) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); |
|
|
|
|
|
|
|
return (value<<16) | (value>>16); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Standard wrapper for do-something-forever thread functions.
|
|
|
|
// Standard wrapper for do-something-forever thread functions.
|
|
|
|
// "Forever" really means until the thread is interrupted.
|
|
|
|
// "Forever" really means until the thread is interrupted.
|
|
|
|
// Use it like:
|
|
|
|
// Use it like:
|
|
|
|