Skip to content
Snippets Groups Projects
Commit 696d61fb authored by Dmitry E. Oboukhov's avatar Dmitry E. Oboukhov
Browse files

fiber variables with __thread attribute

parent eaeff2c5
No related branches found
No related tags found
No related merge requests found
...@@ -57,8 +57,8 @@ static __thread uint32_t last_used_fid; ...@@ -57,8 +57,8 @@ static __thread uint32_t last_used_fid;
static __thread struct mh_i32ptr_t *fibers_registry; static __thread struct mh_i32ptr_t *fibers_registry;
__thread SLIST_HEAD(, fiber) fibers, zombie_fibers; __thread SLIST_HEAD(, fiber) fibers, zombie_fibers;
static RLIST_HEAD(ready_fibers); static __thread RLIST_HEAD(ready_fibers);
static ev_async ready_async; static __thread ev_async ready_async;
static void static void
update_last_stack_frame(struct fiber *fiber) update_last_stack_frame(struct fiber *fiber)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment