#include <thd.h>
Definition at line 45 of file thd.h.
◆ Options()
grpc_core::Thread::Options::Options |
( |
| ) |
|
|
inline |
Definition at line 47 of file thd.h.
◆ joinable()
bool grpc_core::Thread::Options::joinable |
( |
| ) |
const |
|
inline |
Definition at line 53 of file thd.h.
◆ set_joinable()
Options& grpc_core::Thread::Options::set_joinable |
( |
bool |
joinable | ) |
|
|
inline |
Set whether the thread is joinable or detached.
Definition at line 49 of file thd.h.
◆ set_stack_size()
Options& grpc_core::Thread::Options::set_stack_size |
( |
size_t |
bytes | ) |
|
|
inline |
Sets thread stack size (in bytes). Sets to 0 will use the default stack size which is 64KB for Windows threads and 2MB for Posix(x86) threads.
Definition at line 64 of file thd.h.
◆ set_tracked()
Options& grpc_core::Thread::Options::set_tracked |
( |
bool |
tracked | ) |
|
|
inline |
Set whether the thread is tracked for fork support.
Definition at line 56 of file thd.h.
◆ stack_size()
size_t grpc_core::Thread::Options::stack_size |
( |
| ) |
const |
|
inline |
Definition at line 68 of file thd.h.
◆ tracked()
bool grpc_core::Thread::Options::tracked |
( |
| ) |
const |
|
inline |
Definition at line 60 of file thd.h.
◆ joinable_
bool grpc_core::Thread::Options::joinable_ |
|
private |
Definition at line 71 of file thd.h.
◆ stack_size_
size_t grpc_core::Thread::Options::stack_size_ |
|
private |
Definition at line 73 of file thd.h.
◆ tracked_
bool grpc_core::Thread::Options::tracked_ |
|
private |
Definition at line 72 of file thd.h.
The documentation for this class was generated from the following file: