concurrency::Worker class

Constructors, destructors, conversion operators

Worker()

Public functions

auto Id() -> uint64_t
the current id of the worker. This can be used as a key for searches

Public variables

std::string name
the name of the worker. It should be used in conjunction with debug / inspection techniques. Not unique guarantee is given. Do not use this as a key for searches

Function documentation

uint64_t concurrency::Worker::Id()

the current id of the worker. This can be used as a key for searches

Returns the current id of the worker.