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 |
|
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 |
|