1
0
mirror of https://github.com/tearshark/librf.git synced 2024-10-02 00:00:11 +08:00
Commit Graph

34 Commits

Author SHA1 Message Date
tearshark
0832b19a10 通过cmake配置编译选项 2020-03-28 01:24:02 +08:00
tearshark
e0555c5668 兼容xcode 2020-03-26 16:28:27 +08:00
tearshark
fb1d8d39e5 mutex_v2增加超时等待功能
修改无死锁锁定多个锁的算法,以便于支持mutex_v2
2020-03-20 01:04:52 +08:00
tearshark
18ff251233 增加yield()支持
可以获得调用链的跟节点
切换协程方法的修改
mutex_t增加try_lock()实现
2020-03-19 17:46:10 +08:00
tearshark
946656e34e 实现mutex第二版 2020-03-18 18:36:39 +08:00
tearshark
254c13b21e 使用concept来描述部分接口 2020-03-14 01:52:43 +08:00
tearshark
2d0a597b85 整理类型萃取代码
when_all/when_any接受functor。functor必须得返回一个awaitor
2020-03-12 23:03:04 +08:00
tearshark
aba74aaa19 重新实现when_all/when_any 2020-03-12 16:56:23 +08:00
tearshark
c863f50ff1 获得当前协程帮定的调度器 2020-03-11 22:30:42 +08:00
tearshark
a5459300b9 新版本的event实现 2020-03-10 21:31:05 +08:00
tearshark
fca55ccee7 将channel的申明和实现分离,便于阅读 2020-03-09 15:50:08 +08:00
tearshark
d854bd00f6 重写channel的实现方法 2020-03-09 14:23:35 +08:00
tearshark
ac11ce9f6f 优化channel实现,使用循环队列完成channel数据缓存 2020-03-09 08:17:52 +08:00
tearshark
f33d4c471a 企图实现一个更加简洁和lock-free的event。 2020-03-04 11:23:10 +08:00
tearshark
0739e99ab2 全面兼容clang编译器,并通过大部分测试范例 2020-03-01 12:13:41 +08:00
tearshark
f19966d85e 增加切换调度器的功能
版本号升级到2.2.0
2020-02-27 14:05:45 +08:00
tearshark
b6a8d6bb1a 将宏定义集中存放,以便于将来更好的支持module 2020-02-19 16:29:56 +08:00
tearshark
3badb4e13f 增加测试内存布局的范例 2020-02-19 16:05:19 +08:00
tearshark
39f12d96bc 上传测试的VS项目 2020-02-16 13:39:03 +08:00
tearshark
cba8cd7d8f 整理头文件定义,使得重要的类放在显眼之处 2020-02-16 13:33:49 +08:00
tearshark
7289258a75 准备支持调度generator 2020-02-16 10:27:00 +08:00
tearshark
76811ba691 恢复新版本下的sleep功能
完善新版本下的部分测试用例
2020-02-16 01:18:25 +08:00
tearshark
3575506740 将state的操作封装在其内部,以便于检查是否加锁而从保证了线程安全 2020-02-15 17:53:11 +08:00
tearshark
1508d08027 使用新的state/promise/future和调度器,以便于完成调度链传递 2020-02-15 15:20:16 +08:00
tearshark
f4214e45e7 支持ASIO 1.12.2以上版本 2019-04-25 11:35:23 +08:00
tearshark
70b706721b 新增一个channel测试项目 2019-04-25 09:16:06 +08:00
tearshark
5316643d0d 增加modern callback范例代码 2019-04-21 09:05:04 +08:00
tearshark
7ed4d830b3 添加一个基于ASIO的pingpong性能评测 2018-08-26 19:06:07 +08:00
tearshark
3e81636db7 优化调度器所花费的时间 2018-08-08 21:01:25 +08:00
tearshark
803cc2e51e 支持when_all/when_any 2018-03-27 00:34:31 +08:00
tearshark
84fe5c4b1a 测试channel在多线程多协程调度下的表现
测试结果表明N:M模型的代码还存在BUG
2017-11-27 18:37:18 +08:00
tearshark
db03e525be 支持N:N模式的协程 2017-10-01 10:33:08 +08:00
tearshark
67a3e653ed 添加内存占用的测试代码 2017-09-24 14:36:36 +08:00
tearshark
ba792374ab create repository 2017-09-24 14:01:30 +08:00