Commit Graph

3519 Commits

Author SHA1 Message Date
zhengshuxin
69fcff4150 test demo 2022-12-01 19:42:48 +08:00
zhengshuxin
b81c1f9db0 init res value 2022-11-30 13:48:10 +08:00
zhengshuxin
db0b4971f0 The res value be set to acl_fiber_set_error in file_close() wasn't inited yet. 2022-11-30 13:45:31 +08:00
zhengshuxin
d0f1050531 optimize and test io_uring for closing and canceling IO processes. 2022-11-30 13:06:31 +08:00
zhengshuxin
77b5c570e3 delete unused codes 2022-11-29 11:46:14 +08:00
zhengshuxin
4250115464 add more comments and add more safety codes for close fd in no-fiber mode. 2022-11-28 23:32:26 +08:00
zhengshuxin
753bff583b test 2022-11-24 20:27:01 +08:00
zhengshuxin
ca5ca77dff remove debug info 2022-11-24 20:24:06 +08:00
zhengshuxin
7330aa00bb test fiber 2022-11-24 20:05:46 +08:00
zhengshuxin
4a00da4e38 fixed bugs in io.c of fiber module when calling write api in no-coroutine mode. 2022-11-24 06:55:38 +08:00
zhengshuxin
8e8db764fd fixed one bug there's a dead-locking when fiber_cond waits timedout 2022-11-23 13:20:02 +08:00
zhengshuxin
547b2e2295 add lost files in vs projects 2022-11-22 17:03:20 +08:00
zhengshuxin
2bca98c50e add new files into vs's projects 2022-11-21 23:14:35 +08:00
zhengshuxin
ea42500c68 optimize and test redis client pipeline mode with the new fiber_tbox with less eventfd. 2022-11-21 22:58:52 +08:00
zhengshuxin
638b966ec6 add header 2022-11-21 20:44:59 +08:00
zhengshuxin
ba76a210b8 build ok by xcode 2022-11-21 20:43:45 +08:00
zhengshuxin
8353981a96 optimize all box classes and redis_client_pipeline can create box by virtual create function. 2022-11-21 20:27:09 +08:00
zhengshuxin
da61f288ae optimize and test fiber_cond 2022-11-21 11:51:31 +08:00
zhengshuxin
96b6a74fbe optimize and test fiber_cond 2022-11-21 00:16:49 +08:00
zhengshuxin
24a553e66b optimize fiber_mutex, fiber_cond 2022-11-20 22:30:15 +08:00
郑树新
150c7a21b9 test fiber in UI on windows 2022-11-20 12:41:09 +08:00
郑树新
96dda1a925 compile on windows 2022-11-19 22:12:08 +08:00
zhengshuxin
fec4daee79 fixed bugs when open_limit return -1, we should use one default value for event_select.c and event_poll.c in fiber. 2022-11-19 21:20:41 +08:00
zhengshuxin
9cac39c265 optimize and test fiber_cond, fiber_mutex on io_uring 2022-11-19 19:15:28 +08:00
zhengshuxin
90b054a176 build ok on macos for fiber module 2022-11-18 21:51:46 +08:00
zhengshuxin
1f2f79c192 optimize fiber_mutex by using context switch when the owner and waiter are in the same thread 2022-11-18 16:47:10 +08:00
郑树新
f5d6b15f33 test iocp of fiber on windows 2022-11-17 22:00:22 +08:00
shuxin   zheng
468cb5fa8a add lost files for xcode project 2022-11-17 18:24:09 +08:00
郑树新
c2537bf2f7 test ... 2022-11-17 18:11:33 +08:00
郑树新
51b7ea8ebb test fiber module on windows platform 2022-11-17 15:16:53 +08:00
shuxin   zheng
e67b30c94b add lost files for xcode 2022-11-17 15:15:24 +08:00
郑树新
5ef61a9f15 delete unused branch 2022-11-17 14:28:31 +08:00
shuxin   zheng
626dbd4669 add lost files in xcode 2022-11-17 14:18:33 +08:00
shuxin   zheng
fca99933f0 build ok by xcode 2022-11-17 12:10:33 +08:00
shuxin   zheng
a4ea9e8129 optimize and test fiber_mutex, fiber_cond on macos 2022-11-17 11:24:56 +08:00
zhengshuxin
ce0a0c6468 testing ... 2022-11-16 23:18:22 +08:00
shuxin   zheng
ed6e04e63b decrease the size of ACL_FIBER 2022-11-16 18:13:08 +08:00
zhengshuxin
365a62a96d test fiber_cond 2022-11-16 15:50:24 +08:00
zhengshuxin
eb9739942e optimize and test fiber_mutex, fiber_cond 2022-11-16 15:41:33 +08:00
zhengshuxin
222f62e83a format code 2022-11-13 13:56:26 -05:00
zhengshuxin
8d09efed12 optimize fiber_cond 2022-11-13 13:56:05 -05:00
zhengshuxin
27f8fa6fb6 optimize and test fiber_cond 2022-11-13 13:52:41 -05:00
zhengshuxin
d0cf77f92c test fiber_cond 2022-11-13 12:39:51 -05:00
zhengshuxin
19f19ad7c0 optimize fiber_cond 2022-11-13 12:38:46 -05:00
zhengshuxin
652008e29a optimize and test fiber_mutex, fiber_cond 2022-11-13 12:00:09 -05:00
zhengshuxin
14f0900b73 optimize ... 2022-11-14 05:43:55 -05:00
zhengshuxin
eadd92e9e3 optimize mdule of fiber 2022-11-14 04:55:09 -05:00
zhengshuxin
84ab52a4a5 optimize and test fiber_cond 2022-11-14 04:39:28 -05:00
zhengshuxin
0ad17e5048 test fiber_cond ... 2022-11-14 02:56:57 -05:00
zhengshuxin
f84cfa370d change the cpp of fiber according the c's changing. 2022-11-13 10:37:41 -05:00