Zth (libzth)
Loading...
Searching...
No Matches
zth::setName Struct Reference

Change the name of a fiber returned by zth_async. More...

#include <async.h>

Inheritance diagram for zth::setName:
zth::FiberManipulator

Public Member Functions

 setName (char const *n)
 
 setName (string const &n)
 
 setName (string &&n)
 

Public Attributes

string name
 

Detailed Description

Change the name of a fiber returned by zth_async.

This is a manipulator that calls zth::Fiber::setName().

See also
zth::setStackSize() for an example

Definition at line 201 of file async.h.

Constructor & Destructor Documentation

◆ setName() [1/3]

zth::setName::setName ( char const *  n)
inlineexplicit

Definition at line 203 of file async.h.

◆ setName() [2/3]

zth::setName::setName ( string const &  n)
inlineexplicit

Definition at line 207 of file async.h.

◆ setName() [3/3]

zth::setName::setName ( string &&  n)
inlineexplicit

Definition at line 210 of file async.h.

Member Data Documentation

◆ name

string zth::setName::name

Definition at line 224 of file async.h.


The documentation for this struct was generated from the following file: