1
0
mirror of https://github.com/tearshark/librf.git synced 2024-10-01 15:57:07 +08:00
Commit Graph

16 Commits

Author SHA1 Message Date
tearshark
9f1aaf5923 兼容Xcode 2020-03-26 17:26:39 +08:00
tearshark
837a2827ba 将异常和返回值做成union以减小state的大小。
支持返回引用。
2020-03-02 23:39:09 +08:00
tearshark
fee671711d 减少state加锁的次数
增加future对yield的测试
2020-03-02 14:50:01 +08:00
tearshark
f19966d85e 增加切换调度器的功能
版本号升级到2.2.0
2020-02-27 14:05:45 +08:00
tearshark
3badb4e13f 增加测试内存布局的范例 2020-02-19 16:05:19 +08:00
tearshark
9dcb2d8baf 将state和协程所用的内存分配到一起。
处理好协程的析构
2020-02-18 13:15:16 +08:00
tearshark
a61c9b2c64 优化state的内存布局和大小 2020-02-18 11:42:42 +08:00
tearshark
421e884680 优化state占用的内存 2020-02-18 11:32:20 +08:00
tearshark
76811ba691 恢复新版本下的sleep功能
完善新版本下的部分测试用例
2020-02-16 01:18:25 +08:00
tearshark
3f64156e82 改版后第一次正常跑完回调测试 2020-02-16 00:47:45 +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
256dbb8584 深入理解协程的初始化过程 2020-02-15 13:32:14 +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