Commit Graph

349 Commits

Author SHA1 Message Date
zhengshuxin
79ee418c14 test fiber_cond 2022-12-25 16:20:13 +08:00
zhengshuxin
7a8694e367 Fixed one bug in poll.c for closing another fiber's fd 2022-12-20 15:34:47 +08:00
zhengshuxin
afaf06e041 add another more efficient sendfile's implement than by using splice. 2022-12-12 02:36:11 +08:00
zhengshuxin
8901830536 test fiber_stop demo 2022-12-19 15:00:03 +08:00
zhengshuxin
cf53a8add4 add one demo. 2022-12-11 21:31:18 +08:00
郑树新
75526ace1a build ok on windows 2022-12-17 19:20:20 +08:00
zhengshuxin
b4ef412762 add one demo for test waiting fiber with fiber_tbox 2022-12-16 21:57:41 +08:00
zhengshuxin
a77777c6f9 add dead lock test 2022-12-16 20:29:03 +08:00
zhengshuxin
5b6d473d7b test demo 2022-12-16 12:00:57 +08:00
zhengshuxin
a5ea885bb1 test fiber_tbox 2022-12-09 18:32:29 +08:00
zhengshuxin
dec66530a2 fixed one bug that lseek can't distinguish eventfd and file fd, so we use another method to do it. 2022-12-08 16:31:02 +08:00
zhengshuxin
970c19e531 test ... 2022-12-08 14:27:01 +08:00
zhengshuxin
2d66b48b75 add one demo to test multiple threads and fibers writing log with the same fd 2022-12-06 21:57:19 +08:00
zhengshuxin
69fcff4150 test demo 2022-12-01 19:42:48 +08:00
zhengshuxin
d0f1050531 optimize and test io_uring for closing and canceling IO processes. 2022-11-30 13:06:31 +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
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
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
9cac39c265 optimize and test fiber_cond, fiber_mutex on io_uring 2022-11-19 19:15:28 +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
郑树新
c2537bf2f7 test ... 2022-11-17 18:11: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
eb9739942e optimize and test fiber_mutex, fiber_cond 2022-11-16 15:41:33 +08:00
zhengshuxin
d0cf77f92c test fiber_cond 2022-11-13 12:39:51 -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
0ad17e5048 test fiber_cond ... 2022-11-14 02:56:57 -05:00
zhengshuxin
bbafef19ad optimize and test fiber_mutex.c 2022-11-12 21:15:51 -05:00
zhengshuxin
d4981e0a9a test ... 2022-11-10 10:12:10 -05:00
zhengshuxin
3d8a6a7879 optimize and test fiber_mutex ... 2022-11-09 09:09:00 -05:00
zhengshuxin
ddaeb6ed99 add fiber_mutex test 2022-11-08 08:52:39 +08:00
zhengshuxin
4d81f0fe5f adding fiber_mutex ... 2022-11-07 18:28:28 +08:00
zhengshuxin
fa5d46f3b3 test 2022-11-02 10:28:00 -04:00
zhengshuxin
aef12af92e test file copy with io_uring 2022-10-31 05:51:34 -04:00
zhengshuxin
b78e958dea test splice, pread, pwrite in multiple coroutines in multiple threads 2022-10-31 04:54:43 -04:00
郑树新
733e83c5b6 test fiber with iocp engine 2022-10-30 23:27:48 +08:00
zhengshuxin
bd04860c0e optimize io_uring engine in lib_fiber 2022-10-30 05:48:23 -04:00
zhengshuxin
159e6b6bb4 test fiber 2022-10-27 06:14:15 -04:00
zhengshuxin
3f36b8da2f optimize and test fiber module 2022-10-24 03:33:06 -04:00
zhengshuxin
13bbba5061 compilie one demo 2022-10-23 21:56:29 -04:00
郑树新
106283c9f4 build ok for windows 2022-10-23 18:08:20 +08:00
zhengshuxin
fd146d9935 just compiling 2022-10-23 05:41:36 -04:00
zhengshuxin
03e2dcd588 add io_uring building condition 2022-10-23 17:36:25 +08:00
zhengshuxin
5baf77edf5 add conditional compiling for using io_uring 2022-10-23 17:22:14 +08:00
zhengshuxin
7dbfda84ab test demo 2022-10-20 06:05:26 -04:00
zhengshuxin
a8241bfdcc optimize and test pread/pwriter in io_uring engine 2022-10-20 05:32:22 -04:00
zhengshuxin
d8db1f5de9 test and optimize ... 2022-10-21 06:30:55 -04:00
zhengshuxin
acac293ee1 test sendfile ... 2022-10-20 01:25:54 -04:00