setThreadName

Sets the thread name of the current thread, so they will show up named in process managers (like top).

version(Posix)
void
setThreadName
(
const string name
)

Parameters

name string

String name to assign to the current thread.