Commit Graph

907 Commits

Author SHA1 Message Date
zhengshuxin
8e8db764fd fixed one bug there's a dead-locking when fiber_cond waits timedout 2022-11-23 13:20:02 +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
zhengshuxin
948716dd57 optimize fiber_cond and fiber_mutex 2022-11-13 10:11:36 -05:00
zhengshuxin
65a84a6ede adding new fiber_cond ... 2022-11-13 03:31:02 -05:00
zhengshuxin
8863f9ef93 optimize fiber_mutex 2022-11-13 00:06:48 -05:00
zhengshuxin
1d83f7c6cf optimize fiber_mutex 2022-11-12 21:54:50 -05:00
zhengshuxin
bbafef19ad optimize and test fiber_mutex.c 2022-11-12 21:15:51 -05:00
zhengshuxin
821d06d573 test fiber_mutex 2022-11-11 09:53:23 -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
fb91f6ffd2 add lost files 2022-11-08 08:56:22 +08: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
7344b417a4 adding fiber mutex ... 2022-11-06 09:21:53 -05:00
zhengshuxin
883f4d0e2d there is some error in fiber_event.c to be fixed in io_uring mode, the fiber_event.c maybe to rewrite ... 2022-11-03 06:45:53 -04:00
zhengshuxin
fa5d46f3b3 test 2022-11-02 10:28:00 -04:00
zhengshuxin
49b617f2e3 use different context for read/write operations in io_uring module 2022-11-02 06:57:18 -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
郑树新
1f0798f7dd compile on windows 2022-10-30 20:06:23 +08:00
郑树新
e1d749eef6 compile on windows 2022-10-30 19:56:24 +08:00
zhengshuxin
bd04860c0e optimize io_uring engine in lib_fiber 2022-10-30 05:48:23 -04:00
zhengshuxin
9b977d213d optimize io_uring ... 2022-10-29 11:38:33 -04:00
zhengshuxin
9b4b38d59f optimize and test io_uring 2022-10-28 11:58:28 -04:00
zhengshuxin
913629b5e9 optimize code style 2022-10-28 06:23:52 -04:00
zhengshuxin
159e6b6bb4 test fiber 2022-10-27 06:14:15 -04:00
zhengshuxin
a87aadb291 add io_uring in master service template. 2022-10-26 11:21:28 -04:00
zhengshuxin
9286a008c5 test 2022-10-26 07:03:34 -04:00
zhengshuxin
efe06cd020 test io_uring ... 2022-10-25 06:54:43 -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
zhengshuxin
515e388b2e Add support io_uring in service template - master_fiber 2022-10-23 20:42:57 +08:00
郑树新
106283c9f4 build ok for windows 2022-10-23 18:08:20 +08:00
zhengshuxin
91b592152d building ... 2022-10-23 17:46:07 +08:00
zhengshuxin
fd146d9935 just compiling 2022-10-23 05:41:36 -04:00
zhengshuxin
003338f197 add compiling conditions 2022-10-23 17:38:53 +08: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
9913bcdb81 build on mac 2022-10-23 10:15:04 +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
zhengshuxin
7e30d96f45 test sendfile of io_uring ... 2022-10-20 07:14:04 -04:00
zhengshuxin
9ceca47c9f optimize and test io_uring... 2022-10-19 06:45:10 -04:00
zhengshuxin
7f635e1cd6 test and optimize io_uring 2022-10-10 07:42:19 -04:00
zhengshuxin
f960c8f689 test io_uring 2022-10-18 06:47:08 -04:00
zhengshuxin
ecc4a945bd test and optimize io_uring ... 2022-10-17 06:33:14 -04:00
zhengshuxin
f67cac51a6 optimize and test io_uring 2022-10-17 01:55:43 -04:00
zhengshuxin
a1f492844a test 2022-10-10 02:32:21 -04:00
zhengshuxin
b9f1d3f677 optimize and test io_uring module in fiber 2022-10-10 02:25:10 -04:00
zhengshuxin
b3c2ddaac8 adding pread, pwrite, sendfile in io_uring module of fiber 2022-10-09 12:09:09 -04:00
zhengshuxin
ce0c45f8d5 add supporting file operations in io_uring event of fiber mode 2022-10-13 00:48:42 -04:00
zhengshuxin
a78f08a6a9 io_uring in fiber supports file's open, read, and write. 2022-10-12 15:44:37 -04:00
zhengshuxin
4a2f036f7a optimize and test io_uring module in fiber 2022-10-12 05:55:50 -04:00
zhengshuxin
61c6053c29 build ok on macos 2022-10-11 22:37:09 +08:00
zhengshuxin
1ed47abeb1 optimize and test io_uring... 2022-10-08 15:15:21 -04:00
zhengshuxin
dd3fcc3919 add and test io_uring... 2022-10-09 11:30:07 -04:00
zhengshuxin
42bc75c237 test io_uring ... 2022-10-09 01:46:14 -04:00
zhengshuxin
615bb8d2c0 test and optimize io_uring 2022-10-08 14:07:32 -04:00
zhengshuxin
82d56ea351 add and test io_uring 2022-10-08 13:34:12 -04:00
zhengshuxin
ac915cf321 adding io_uring ... 2022-10-08 16:45:20 -04:00