feat/support_fiber #2
@ -15,7 +15,7 @@ namespace detail {
|
|||||||
static thread_local Fiber *tls_current_fiber = nullptr;
|
static thread_local Fiber *tls_current_fiber = nullptr;
|
||||||
static thread_local Fiber *tls_master_fiber = nullptr;
|
static thread_local Fiber *tls_master_fiber = nullptr;
|
||||||
|
|
||||||
constexpr std::size_t kStackSize = 8192;
|
constexpr std::size_t kStackSize = 128 * 1024; // 128k
|
||||||
constexpr std::size_t kAlignSize = 16;
|
constexpr std::size_t kAlignSize = 16;
|
||||||
|
|
||||||
void FiberEntry(fcontext_transfer_t t) {
|
void FiberEntry(fcontext_transfer_t t) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user