#include <thd.h>
◆ Options()
grpc_core::Thread::Options::Options |
( |
| ) |
|
|
inline |
◆ joinable()
bool grpc_core::Thread::Options::joinable |
( |
| ) |
const |
|
inline |
◆ set_joinable()
Options& grpc_core::Thread::Options::set_joinable |
( |
bool |
joinable | ) |
|
|
inline |
Set whether the thread is joinable or detached.
◆ 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.
◆ set_tracked()
Options& grpc_core::Thread::Options::set_tracked |
( |
bool |
tracked | ) |
|
|
inline |
Set whether the thread is tracked for fork support.
◆ stack_size()
size_t grpc_core::Thread::Options::stack_size |
( |
| ) |
const |
|
inline |
◆ tracked()
bool grpc_core::Thread::Options::tracked |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: