Commit Graph

737 Commits

Author SHA1 Message Date
zhengshuxin
037f55fbb9 There're some bugs in gcc4.2.1 of FreeBSD, so we should be suitable for it. 2018-01-08 04:32:28 +08:00
zhengshuxin
a8c4b5b057 Build ok on FreeBSD. 2018-01-07 17:40:15 +08:00
郑树新
0cd5506a43 Test gui fiber demo 2024-09-14 23:16:21 +08:00
郑树新
b19af9809d Optimize building process by cmake on Windows platforms. 2024-08-31 21:10:21 +08:00
zhengshuxin
bdcaad04c7 test fiber. 2024-08-12 20:37:56 +08:00
zhengshuxin
896b92f75a Optimize and test fiber module in sharing stack mode. 2024-08-11 18:51:48 +08:00
郑树新
d95db6f8a4 fiber cond supports being canceled by other fiber. 2024-07-29 14:44:15 +08:00
zhengshuxin
40618b8d93 Add API for getting the fiber's status. 2024-07-29 11:10:30 +08:00
zhengshuxin
0facec821d Use USE_POLL_WAIT conditional compiling in fiber_io.cpp. 2024-07-28 18:57:22 +08:00
zhengshuxin
84095ebbf9 Add test codes for timer handler. 2024-07-28 09:51:58 +08:00
zhengshuxin
22d4e2265c Use poll wait for handling IO readwrite timeout. 2024-07-28 09:46:59 +08:00
郑树新
43cc154927 Optimize and test fiber IO. 2024-07-27 23:17:52 +08:00
郑树新
09a56d0903 Fixed one memory alloc bug and optimize codes. 2024-07-27 22:21:14 +08:00
zhengshuxin
f45b5a92c2 event oper can't be cached only in directly mode. 2024-07-26 16:18:54 +08:00
zhengshuxin
5ce851d299 test fiber. 2024-07-26 14:40:58 +08:00
zhengshuxin
a4b4bc0cc6 Optimize and test IO timeout by setsockopt in fiber. 2024-07-26 11:00:21 +08:00
zhengshuxin
bd9e5c0d52 Don't cache directly EVENT operations. 2024-07-25 18:13:39 +08:00
zhengshuxin
79fda265b1 test fiber. 2024-07-25 13:37:05 +08:00
zhengshuxin
b563e34dc4 Hook getsockopt for get socket's IO timeout in fiber module. 2024-07-23 14:39:42 +08:00
郑树新
ebeb2e02cb Supports building for ARMEC64. 2024-07-18 14:43:29 +08:00
郑树新
7e33f21589 Supports vc2022 and Arm64. 2024-07-17 18:19:27 +08:00
zhengshuxin
b542433453 Fixed one conditional building in fiber module. 2024-06-23 18:19:26 +08:00
zhengshuxin
279301f6bf Fixed bugs in fiber module when calling recv/recvfrom/recvmsg with flags MSG_PEEK or MSG_DONTWAIT. 2024-06-21 14:29:24 +08:00
郑树新
353186995c Fixed compiling warning on windows. 2024-06-21 09:41:00 +08:00
zhengshuxin
68a8e932ac Use acl_fiber_yield() when calling acl_fiber_delay(0). 2024-06-19 11:37:54 +08:00
zhengshuxin
59634b0ac8 Fixed one bug in acl_fiber_signum() API. 2024-05-24 18:44:32 +08:00
zhengshuxin
37dada83f2 Optimize cmake building. 2024-04-16 10:12:29 +08:00
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