Commit Graph

710 Commits

Author SHA1 Message Date
shuxin   zheng
af28e0a6ce Optimize project's building. 2024-04-04 15:28:22 +08:00
shuxin   zheng
a2de0a120c Build ok by Android Studio. 2024-04-02 18:30:24 +08:00
zhengshuxin
bef360157d Add install options after built by cmake. 2024-04-02 17:40:52 +08:00
zhengshuxin
c47609ad20 Modify comments. 2024-03-30 12:49:17 +08:00
zhengshuxin
8b2cf27e26 Optimize IO timeout process in fiber. 2024-03-28 11:34:19 +08:00
zhengshuxin
52f5824fa4 Don't call delete readwrite operations in fiber_wait_read, fiber_wait_write. 2024-03-27 18:34:44 +08:00
zhengshuxin
1f7ad7098b Optimize setsockopt for setting IO timeout in fiber. 2024-03-25 17:48:01 +08:00
zhengshuxin
b0082d21bc Reset r_timeout/w_timeout after poll finishing. 2024-03-25 15:17:58 +08:00
zhengshuxin
f7563f1bc1 w_timeout should be set when writing data in iouring mode. 2024-03-25 15:11:34 +08:00
zhengshuxin
581ea2eca0 Optimize IO timeout process by setsockopt. 2024-03-24 09:18:30 +08:00
shuxin   zheng
1900bda152 Optimize IO timeout for hook API setsockopt(). 2024-03-23 16:50:26 +08:00
shuxin   zheng
904dfc103f make wakeup_waiter more safety when timeout. 2024-03-23 16:49:39 +08:00
shuxin   zheng
369b7b1038 Optimize IO cancel process in fiber module. 2024-03-23 15:27:36 +08:00
shuxin   zheng
65f1027941 Change type the timer from unsigned to size_t. 2024-03-23 11:18:14 +08:00
zhengshuxin
f2e553bc98 Build acl by cosmocc. 2024-03-16 16:08:06 +08:00
zhengshuxin
ae87f9e3c7 Make acl_fiber_kill() more safety. 2024-01-26 18:34:42 +08:00
郑树新
1331b420b3 Load OpenSSL dll successfully on Windows platforms. 2023-12-15 16:20:21 +08:00
zhengshuxin
6fc26c6c0f Using avl more safety. 2023-11-29 15:01:16 +08:00
zhengshuxin
4ee1036c41 Change the cmake required from 3.2.0 to 2.8.0. 2023-11-22 14:57:39 +08:00
zhengshuxin
4c1c0104d0 Build ok by xmake for Linux. 2023-11-17 22:27:23 +08:00
shuxin   zheng
1d9386a73d Build ok by xcode 15.0 2023-11-15 16:19:55 +08:00
zhengshuxin
c88263f251 Add sync kill mode for killing one suspended fiber. 2023-11-02 10:42:40 +08:00
zhengshuxin
d4dfe8c7a6 Use syscall other dysym to avoid being blocked when use tcmalloc to debug app. 2023-10-30 10:44:39 +08:00
shuxin   zheng
ee0565d169 Fixed one dead loop bug in mqtt_connect.cpp. 2023-10-17 16:30:56 +08:00
zhengshuxin
f0eff2dd9f Add fiber_ prefix in the avl_xxx to avoid conlistion with other lib including avl.c 2023-10-13 14:35:06 +08:00
zhengshuxin
8dee99c92f test io-uring in fiber 2023-07-28 11:05:01 +08:00
zhengshuxin
581594ef1e test io-uring in libfiber 2023-07-28 10:28:29 +08:00
zhengshuxin
6c2326e893 Optimize and test pkv. 2023-07-24 18:16:09 +08:00
zhengshuxin
f45e5c1a33 Optimize filber killing process. 2023-07-13 19:19:26 +08:00
zhengshuxin
5a3980cbc9 Optimize fiber's codes. 2023-07-13 10:11:28 +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
shuxin   zheng
e9b14372ea compiling on MacOS 2023-07-11 18:18:56 +08:00
zhengshuxin
dc962a1df6 Don't hook recvmmsg/sendmmsg on Android platform. 2023-07-11 17:23:32 +08:00
shuxin   zheng
acaea7ddd3 compiling succefully on Macos 2023-07-10 18:58:37 +08:00
zhengshuxin
2b9bb710c0 Optimize codes and delete unused codes. 2023-07-10 18:55:12 +08:00
zhengshuxin
c0df7d2aa9 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2023-07-10 16:18:47 +08:00
zhengshuxin
b3d9d9e094 Replace fiber_file_open_read() & fiber_file_open_write() with fiber_file_open(). 2023-07-10 16:17:09 +08:00
zhengshuxin
157e138622 Change conditional macro from DISABLE_HOOK_IO to DISABLE_HOOK for compiling. 2023-07-09 12:38:59 +08:00
zhengshuxin
d2e0e4963d Optimize codes of fiber module. 2023-07-07 16:50:22 +08:00
zhengshuxin
fba503dde5 Add some comments. 2023-06-27 14:33:08 +08:00
zhengshuxin
aacc3129cb Optimize and test the hooked poll API. 2023-06-26 17:54:17 +08:00
zhengshuxin
b0c18461cc test 2023-06-26 16:46:19 +08:00
zhengshuxin
c5b6dab9aa test poll.c 2023-06-26 16:26:02 +08:00
zhengshuxin
9df7c8d7b1 Optimize fiber event for supporting read/write on the same socket. 2023-06-26 12:04:27 +08:00
zhengshuxin
e664c947e0 optimize and test poll.c 2023-06-26 11:09:48 +08:00
zhengshuxin
d232a391e3 remove event for read/writer should support directive mode. 2023-06-26 09:24:40 +08:00
zhengshuxin
704b9a4b7a set fiber_r/fiber_w NULL after read/write waiting wakeup. 2023-06-25 11:42:03 +08:00
zhengshuxin
2563625613 fixed one compiling warning in fiber_hook.h 2023-06-25 09:49:49 +08:00
zhengshuxin
5919f5460d Don't abort when loading sendmmsg error on lower Linux. 2023-06-20 18:52:46 +08:00