tbox v1.6.1 released, add stackless coroutine!
原文链接 https://waruqi.github.io/2016/12/07/update-v1.6.1/
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
New features
- Support coroutine context switch for mips
- Add
__tb_thread_local__
keyword macro - Add
--micro=y|n
option to compiling micro library (~64K) for the embed system - Add
tb_addrinfo_addr
andtb_addrinfo_name
interfaces - Add stackless coroutine
- Add semaphone and lock for the stackless coroutine
Changes
- Optimize io scheduler for coroutine, cache events for poller
- Add c11 _Static_assert
- Remove some deprecated interfaces for hash and platform