The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Thread.name
core
thread
osthread
Thread
Sets the user-readable label for this thread.
string
name
()
void
name
(
string
val
)
class
Thread
final @
property
@
safe
@
nogc
void
name
(
string
val
)
Parameters
val
Type:
string
The new name of this thread.
core
thread
osthread
Thread
constructors
this
destructors
~this
functions
id
isDaemon
isMainThread
isRunning
join
name
priority
pushContext
start
static functions
PRIORITY_DEFAULT
PRIORITY_MAX
PRIORITY_MIN
add
getAll
getThis
opApply
sleep
slock
yield
structs
Context
Suggestion Box / Bug Report
Sets the user-readable label for this thread.