Commit Graph

687 Commits

Author SHA1 Message Date
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
zhengshuxin
45e4d74add Add fiber_sbox2() for transfering object such as shared_ptr. 2023-06-11 21:35:19 +08:00
zhengshuxin
425927b886 recvmmsg API's declaration is different between Ubuntu and CentOS. 2023-05-19 17:57:49 +08:00
zhengshuxin
becf9dc59d Add timeouted read when using fiber_recvmmsg in fiber module. 2023-05-19 17:26:05 +08:00
zhengshuxin
603fd9938b Support hooking recvmmsg/sendmmsg API in libfiber. 2023-05-19 17:13:46 +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
1f1e47e4cd Add HTTP PUT for demo 2023-05-05 14:18:50 +08:00
zhengshuxin
2d0fa87a8e format code style 2023-04-27 10:50:21 +08:00
zhengshuxin
c220e156e9 format code style of fiber module. 2023-04-27 10:39:55 +08:00
zhengshuxin
d8f3bcd4ec test fiber in sharing stack mode. 2023-04-26 14:11:40 +08:00
zhengshuxin
152053d343 Change the sharing stack's size from 1MB to 10MB. 2023-04-25 18:40:24 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +08:00
zhengshuxin
4699c2f4c0 ETIMEDOUT should be used other than ETIME. 2023-03-31 23:18:38 +08:00
zhengshuxin
331e4826dc Don't write some error log 2023-03-30 16:29:29 +08:00
zhengshuxin
8d371b0a17 Use ETIME other ETIMEDOUT on Unix-like OS. 2023-03-29 22:57:44 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
shuxin   zheng
2486695cc0 Fixed one bug in fiber_mutex module where some resouce collision maybe happen. 2023-03-22 14:56:05 +08:00
zhengshuxin
60ef870ff5 build on macos 2023-03-19 23:01:02 +08:00
zhengshuxin
afeb562f8a MacOS doesn't support CLOCK_REALTIME_COARSE, we should use CLOCK_REALTIME. 2023-03-19 22:56:13 +08:00
zhengshuxin
43dde62075 Optimeize peformance by using clock_gettime to replace gettimeofday 2023-03-19 21:21:11 +08:00
zhengshuxin
389158b1a3 Optimize fiber's performance by decreasing the count of calling gettimeofday. 2023-03-18 19:19:57 +08:00
zhengshuxin
7ec8c3aa44 build acl on centos5.8, 6.6 2023-03-08 14:15:27 +08:00