Commit Graph

388 Commits

Author SHA1 Message Date
zhengshuxin
55f3ef473b mod test sample. 2023-08-24 18:52:19 +08:00
zhengshuxin
7ff5b828f6 testing... 2023-08-20 00:47:33 +08:00
zhengshuxin
3ad548d68f compilie demo 2023-07-28 20:16:46 +08:00
zhengshuxin
82c80213b6 Add demo for testing iouring. 2023-07-28 16:40:01 +08:00
zhengshuxin
ae9ba2b4b1 Test io-uring's performance. 2023-07-28 14:21:04 +08:00
zhengshuxin
8dee99c92f test io-uring in fiber 2023-07-28 11:05:01 +08:00
shuxin   zheng
4d1505a2ae Add wiredtiger db in pkv. 2023-07-27 14:34:53 +08:00
zhengshuxin
4fb5f6a0ad Optimize and test redis coder module in pkv. 2023-07-26 15:50:15 +08:00
zhengshuxin
6c2326e893 Optimize and test pkv. 2023-07-24 18:16:09 +08:00
zhengshuxin
2d73f5fee6 Optimize compiling conditions. 2023-07-18 15:42:37 +08:00
zhengshuxin
b8fa3eceb0 Optimize fiber kill proccess. 2023-07-12 22:25:35 +08:00
zhengshuxin
95124bafc3 Optimize the closing process in fiber module. 2023-07-12 18:42:23 +08:00
lday
e4c32ebb6f link liburing-ffi 2023-07-09 21:30:25 +08:00
zhengshuxin
d232a391e3 remove event for read/writer should support directive mode. 2023-06-26 09:24:40 +08:00
zhengshuxin
2563625613 fixed one compiling warning in fiber_hook.h 2023-06-25 09:49:49 +08:00
zhengshuxin
3e7a588d60 Add set_fdlimit in fiber.hpp 2023-06-21 10:56:02 +08:00
zhengshuxin
0991d1c53c Add fiber_pool demo to test fiber pool mode. 2023-06-09 18:48:28 +08:00
郑树新
56995f709c Fixed bug in acl_get_ifaddrs on windows. 2023-06-07 23:26:37 +08:00
zhengshuxin
00b266843b Test fiber_sem. 2023-05-13 00:06:50 +08:00
zhengshuxin
03e76d0a7e fiber_sem add async mode for posting message. 2023-05-12 23:25:58 +08:00
zhengshuxin
d8f3bcd4ec test fiber in sharing stack mode. 2023-04-26 14:11:40 +08:00
zhengshuxin
af706f7143 Build fiber's demos sucessfully on cs6 and cs5 2023-04-11 15:59:13 +08:00
zhengshuxin
37ee4f42e6 test share stack of fiber 2023-04-04 19:08:26 +08:00
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +08:00
zhengshuxin
f4360ba693 Redis pipeline module can be used in sharing stack mode of fiber. 2023-03-31 21:51:45 +08:00
zhengshuxin
8d371b0a17 Use ETIME other ETIMEDOUT on Unix-like OS. 2023-03-29 22:57:44 +08:00
zhengshuxin
0c1a9d9484 test demo 2023-01-28 15:46:32 +08:00
zhengshuxin
70e825f513 Rename id() to fiber_id() in fiber.hpp 2023-01-17 17:18:56 +08:00
zhengshuxin
5927fddb41 Add demo test the performance ACL_FIBER_LOCK vs ACL_FIBER_MUTEX 2023-01-12 22:30:24 +08:00
zhengshuxin
3ef3fa8128 Add C++ API for fiber mutex deadlock checking. 2023-01-11 22:29:45 +08:00
zhengshuxin
758dd3852a Add stacktrace for fiber cpp lib. 2023-01-11 10:22:33 +08:00
zhengshuxin
0864514ae4 Build demos on MacOS 2023-01-11 00:29:44 +08:00
zhengshuxin
fb02991e32 Use SNPRINTF macro for multiple platforms. 2023-01-11 00:24:44 +08:00
zhengshuxin
e4b0b89bf4 The deadlock function is ok. 2023-01-11 00:19:09 +08:00
zhengshuxin
e5c61d1130 Add deadlock checking for ACL_FIBER_MUTEX 2023-01-10 18:00:34 +08:00
shuxin   zheng
408c6e0db0 acl_fiber_stacktrace() can't be used on MacOS because libunwind don't support MacOS. 2023-01-03 15:47:19 +08:00
zhengshuxin
0732c5dd06 We can get any fibers' stack now. 2023-01-03 15:33:41 +08:00
zhengshuxin
eae6be59ed Optimize sync_timer.c by using the global timer. 2022-12-28 00:01:44 +08:00
zhengshuxin
d2ac79798a Optimize fiber's timer module for performance improvement by using AVL tree. 2022-12-27 16:20:47 +08:00
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