Merge pull request #17 from zhengshuxin/master

merge from acl
This commit is contained in:
郑树新 2016-10-19 15:32:17 +08:00 committed by GitHub
commit 68cd76df36
2 changed files with 5 additions and 0 deletions

View File

@ -98,6 +98,8 @@ void fiber_io_check(void)
__thread_fiber->io_count = 0;
__thread_fiber->nsleeping = 0;
__thread_fiber->io_stop = 0;
__thread_fiber->loop_fn = NULL;
__thread_fiber->loop_ctx = NULL;
acl_ring_init(&__thread_fiber->ev_timer);
if ((unsigned long) acl_pthread_self() == acl_main_thread_self()) {

View File

@ -1,3 +1,6 @@
27) 2016.10.19
27.1) bugfix: fiber_io.c 中的 __thread_fiber->loop_fn 没有赋初值
26) 2016.9.25
26.1) feature: 增加 acl_fiber_post_event 函数,在每次事件循环过程中可以调用由
该函数设置的回调函数