Commit Graph

4062 Commits

Author SHA1 Message Date
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
shuxin   zheng
5742161e26 compiling ok on MacOS. 2023-07-11 17:35:20 +08:00
zhengshuxin
dc962a1df6 Don't hook recvmmsg/sendmmsg on Android platform. 2023-07-11 17:23:32 +08:00
郑树新
015e2fa1ee
Merge pull request #312 from lday0321/lday_link_liburing_ffi
link liburing-ffi
2023-07-11 16:35:53 +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
lday
e4c32ebb6f link liburing-ffi 2023-07-09 21:30:25 +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
3227944489 Delete unused codes. 2023-07-07 21:38:40 +08:00
zhengshuxin
90c4f9d341 Merge branch 'github-upstream' into gitee-master 2023-07-07 21:33:18 +08:00
郑树新
3e7dd4e73d
Merge pull request #311 from luwei08/fix_clang_compile
Build sucessfully by clang with higher version.
2023-07-07 21:31:09 +08:00
luwei
58ef820caf Build sucessfully by clang with higher version. 2023-07-07 21:14:39 +08:00
zhengshuxin
d2e0e4963d Optimize codes of fiber module. 2023-07-07 16:50:22 +08:00
zhengshuxin
49d73b733e Build sucessfully by clang with higher version. 2023-07-06 22:20:33 +08:00
zhengshuxin
c3980105f4 Removed the '\r\n' appended in json serialize. 2023-07-03 12:35:25 +08:00
zhengshuxin
855c3cbbd8 Add json_node remove API for json object. 2023-07-03 11:18:03 +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
979efeb3c5 build wizard 2023-06-22 19:38:36 +08:00
zhengshuxin
3e7a588d60 Add set_fdlimit in fiber.hpp 2023-06-21 10:56:02 +08:00
zhengshuxin
5919f5460d Don't abort when loading sendmmsg error on lower Linux. 2023-06-20 18:52:46 +08:00
zhengshuxin
478008e99a Add comment in go_fiber.hpp 2023-06-20 17:19:17 +08:00
zhengshuxin
e1ca2d117a test fiber_sbox2 when using unique_ptr 2023-06-20 16:43:51 +08:00
zhengshuxin
316478aea4 format code. 2023-06-20 09:56:37 +08:00
zhengshuxin
54a295b0f2 rename fiber_sem_t_def to fiber_sem_t_sync. 2023-06-18 17:36:58 +08:00
zhengshuxin
8265c1c330 Use shared_ptr to protect socket_stream accepted. 2023-06-18 00:01:20 +08:00
zhengshuxin
2275e50a59 App wizard can create service in commandline mode. 2023-06-17 12:05:57 +08:00
zhengshuxin
124eea3dfb Optimize setup shell for acl-master. 2023-06-17 11:19:10 +08:00
zhengshuxin
6db130c534 wizard can create service conf for other service which can be managed by acl_master. 2023-06-17 11:08:19 +08:00
zhengshuxin
c64040e154 release 3.6.1-4 version. 2023-06-13 10:32:35 +08:00
zhengshuxin
154920d0fe Add size() for fiber_sbox class. 2023-06-12 18:27:07 +08:00
zhengshuxin
52a3da825c test demo 2023-06-12 11:55:44 +08:00
zhengshuxin
0dfd92493f optimize and test fiber_sbox 2023-06-12 11:36:02 +08:00
zhengshuxin
afc686ff2d test fiber_sbox2. 2023-06-11 21:41:31 +08:00
zhengshuxin
45e4d74add Add fiber_sbox2() for transfering object such as shared_ptr. 2023-06-11 21:35:19 +08:00
zhengshuxin
6b96da683f format code style. 2023-06-11 18:34:41 +08:00
zhengshuxin
7eb5a23ab1 std::atomic<long>'s variable should be initiated in MacOS clang. 2023-06-11 18:33:59 +08:00
zhengshuxin
0991d1c53c Add fiber_pool demo to test fiber pool mode. 2023-06-09 18:48:28 +08:00
郑树新
56995f709c Fixed bug in acl_get_ifaddrs on windows. 2023-06-07 23:26:37 +08:00
zhengshuxin
10c1655765 Release acl-3.6.1-3. 2023-06-06 11:21:11 +08:00