zhengshuxin
|
0c1a9d9484
|
test demo
|
2023-01-28 15:46:32 +08:00 |
|
zhengshuxin
|
846358ee6f
|
Modify fiber's readme
|
2023-01-26 16:15:11 +08:00 |
|
zhengshuxin
|
8224e8888a
|
Add default event type in acl::fiber::schedule()
|
2023-01-26 16:03:16 +08:00 |
|
zhengshuxin
|
488ea4d473
|
modify readme
|
2023-01-25 22:05:58 +08:00 |
|
zhengshuxin
|
dd0158f5ac
|
make packinstall can be used on Mac
|
2023-01-25 21:55:20 +08:00 |
|
zhengshuxin
|
937f4c0739
|
Modify readme of libfiber
|
2023-01-25 21:31:34 +08:00 |
|
zhengshuxin
|
ced1d28906
|
Release 3.6.0-4 version.
|
2023-01-19 15:23:50 +08:00 |
|
zhengshuxin
|
8d719cbe30
|
Add fiber_mutex_guard class for easily using fiber_mutex.
|
2023-01-17 17:39:57 +08:00 |
|
zhengshuxin
|
70e825f513
|
Rename id() to fiber_id() in fiber.hpp
|
2023-01-17 17:18:56 +08:00 |
|
zhengshuxin
|
e43f7e2410
|
make macro safety
|
2023-01-16 20:28:52 +08:00 |
|
shuxin zheng
|
fbe061245c
|
test aio_server in fiber mode
|
2023-01-16 17:04:30 +08:00 |
|
zhengshuxin
|
37a5f3bcd0
|
Test fcntl for hooking API
|
2023-01-16 16:26:31 +08:00 |
|
zhengshuxin
|
bdb35bc6e9
|
Optimize hook API of fcntl.
|
2023-01-16 16:22:38 +08:00 |
|
zhengshuxin
|
780318a3df
|
Hook fcntl on Linux.
|
2023-01-16 15:46:43 +08:00 |
|
zhengshuxin
|
057852cb72
|
Test if SO_REUSEPORT should be set before bind the socket fd.
|
2023-01-13 16:38:33 +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
|
f36257685e
|
Test .
|
2023-01-12 17:50:40 +08:00 |
|
zhengshuxin
|
884c1457b2
|
Set fiber's status before it's suspended.
|
2023-01-12 17:49:24 +08:00 |
|
zhengshuxin
|
ea3770320a
|
Add the global object to hold all ACL_FIBER_COND objects.
|
2023-01-12 17:48:29 +08:00 |
|
zhengshuxin
|
fd9806b2a6
|
Add conditional compiling with DEBUG_STACK
|
2023-01-11 23:02:39 +08:00 |
|
郑树新
|
cf25672923
|
Build ok on windows.
|
2023-01-11 22:51:39 +08:00 |
|
zhengshuxin
|
1ec47b99b0
|
Just compiling.
|
2023-01-11 22:47:18 +08:00 |
|
zhengshuxin
|
6305f57e48
|
test
|
2023-01-11 22:42:03 +08:00 |
|
zhengshuxin
|
b10fd0acad
|
Build ok on MacOS
|
2023-01-11 22:40:12 +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 |
|
zhengshuxin
|
6be344c73c
|
FIBER_F_STARTED flags should be set for origin fiber.
|
2023-01-04 17:58:56 +08:00 |
|
郑树新
|
5a4294cef4
|
build ok on windows
|
2023-01-03 22:30:32 +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
|
891ef11c5a
|
Remove some useless items in ACL_FIBER to decrease the memory size of ACL_FIBER.
|
2023-01-03 14:42:31 +08:00 |
|
zhengshuxin
|
127c23da34
|
Optimize fiber sturcture and add fiber stack's backtrace for debuging.
|
2023-01-03 00:04:43 +08:00 |
|
shuxin zheng
|
7a43fbf597
|
Release acl3.6.0-3
|
2022-12-30 10:36:26 +08:00 |
|
shuxin zheng
|
cab643b862
|
Build ok by cmake.
|
2022-12-30 09:50:42 +08:00 |
|
zhengshuxin
|
e28c539c28
|
Don't test eventfd on MacOS
|
2022-12-29 22:21:50 +08:00 |
|
zhengshuxin
|
9da39ede8a
|
test eventfd in unit_test of fiber module
|
2022-12-29 22:20:06 +08:00 |
|
zhengshuxin
|
7dab9ca16a
|
add eventfd test in unit_test of fiber module.
|
2022-12-29 22:11:51 +08:00 |
|
zhengshuxin
|
8ab868259d
|
add file read test in unit_test of fiber
|
2022-12-29 21:51:06 +08:00 |
|
shuxin zheng
|
dd5171df8c
|
fixed one bug in MacOS for checking one fd can be monitored by event
|
2022-12-29 18:48:58 +08:00 |
|
zhengshuxin
|
2e9da19b6a
|
prepare for releasing new version acl-3.6.0-3
|
2022-12-29 17:36:16 +08:00 |
|
zhengshuxin
|
799620696c
|
add test cases in unit_test for fiber module
|
2022-12-29 17:28:06 +08:00 |
|
zhengshuxin
|
10b0676d9e
|
Modify acl version date.
|
2022-12-28 17:09:59 +08:00 |
|
zhengshuxin
|
c674ebeac2
|
Adding unit testing framework for fiber module.
|
2022-12-28 17:04:41 +08:00 |
|
zhengshuxin
|
150ef70ca9
|
optimize unitest module
|
2022-12-28 15:46:00 +08:00 |
|
zhengshuxin
|
4e73f4be3a
|
fiber_cond using the global timer to waiting timer arriving.
|
2022-12-28 12:40:18 +08:00 |
|
zhengshuxin
|
eae6be59ed
|
Optimize sync_timer.c by using the global timer.
|
2022-12-28 00:01:44 +08:00 |
|