43

tbox v1.6.3 更新,新增基于IOCP的协程支持

 5 years ago
source link: http://www.tboox.org/cn/2018/08/01/update-v1.6.3/?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

此版本主要改进windows下协程的支持,修复了很多稳定性问题,并且实现了基于IOCP的协程io处理。

新特性

  • #24 : 针对windows平台下的协程处理,增加IOCP支持

改进

  • 移除docs目录,放置到独立tbox-docs仓库,减少tbox.zip包大小
  • 支持tinyc编译器
  • 移除被废弃的模块(asio模块,先用coroutine代替)
  • 精简优化容器库内存资源使用
  • 帮助valgrind更好的理解coroutine

Bugs修复

  • 修复windows环境变量的中文编码问题
  • 修复后台进程退出问题
  • 修复设置环境变量值为空时的崩溃问题
  • 修复协程sleep超时覆写数据的bug
  • 修复windows根路径问题
  • 修复tls线程存储内存泄露问题
  • 修复context切换问题
  • 修复 tb_vsnprintf 栈溢出问题
  • #43 : 修复读取dns服务器以及stream读取bug

源码


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK