Commit Graph

1115 Commits

Author SHA1 Message Date
shuxin   zheng
7729ab3fe5 Fixed some compiling errors on MaxOS. 2024-08-19 16:23:14 +08:00
zhengshuxin
af36b29bff Seperate samples with c and c++ for fiber module. 2024-08-18 23:13:27 +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
郑树新
9daf4738b8 Add compiling options for supporting c++11 in vc2019. 2024-07-17 14:50:33 +08:00
郑树新
7fe7af7555 Compiling on Windows ARM64 2024-07-17 14:49:48 +08:00
zhengshuxin
25d9ca09b8 Format codes. 2024-06-26 14:18:25 +08:00
zhengshuxin
741296c661 Format codes. 2024-06-26 14:09:34 +08:00
郑树新
fc6a460252
Merge pull request #342 from ChrisCatCP/master
refactor wait_group
2024-06-26 13:45:46 +08:00
Bai Miao
9ae2351ce6
add comment for wait_group 2024-06-26 11:00:37 +08:00
白喵
919c8a68fa check state before wait 2024-06-25 12:39:04 +08:00
白喵
25b59ab47b refactor wait_group 2024-06-24 19:37:43 +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
郑树新
59ba4c140d Build Windows GUI demos. 2024-06-16 18:47:26 +08:00
zhengshuxin
59634b0ac8 Fixed one bug in acl_fiber_signum() API. 2024-05-24 18:44:32 +08:00
zhengshuxin
0e96092516 Try to use flock first to avoid the bugs in fcntl. 2024-04-24 11:35:03 +08:00
zhengshuxin
dcce3ea081 Optimize make build. 2024-04-16 10:48:06 +08:00
zhengshuxin
37dada83f2 Optimize cmake building. 2024-04-16 10:12:29 +08:00
shuxin   zheng
94a47b7d85 Optimize cmake build. 2024-04-08 15:19:30 +08:00
zhengshuxin
3300ade550 Optimize cmake building. 2024-04-06 21:48:42 +08:00
zhengshuxin
19b88135b6 Test building process. 2024-04-04 16:44:43 +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
8a2ec846df Test openssl module in lib_acl_cpp. 2024-03-30 12:39:40 +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
72ded83474 Test IO timeout. 2024-03-26 11:37:30 +08:00
zhengshuxin
e391b1a7de Optimize setsockopt timeout in openssl_io.cpp. 2024-03-26 09:57:55 +08:00
shuxin   zheng
0be537a92c Test IO timeout by setting setsockopt on MacOS. 2024-03-25 18:02:07 +08:00
zhengshuxin
661229ace2 Test OpenSSL timeout in fiber mode. 2024-03-25 17:57:10 +08:00