mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Give threads a recognisable name to aid in debugging
NOTE: These thread names are visible in gdb when using 'info threads'.
Additionally both 'top' and 'ps' show these names *unless* told to
display the command-line instead of task name.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
@@ -621,9 +621,7 @@ inline void ExitThread(size_t nExitCode)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
void RenameThread(const char* name);
|
||||
|
||||
inline uint32_t ByteReverse(uint32_t value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user