Commit Graph

3195 Commits

Author SHA1 Message Date
zhengshuxin
36e21ccd96 fixed one bug in fiber_io_loop() in fiber_io.c that don't exit before some fiber maybe running. 2022-04-11 18:28:41 +08:00
shuxin   zheng
e388eb2fb2 cross compile on macos 2022-04-11 14:59:02 +08:00
郑树新
a6573584ce
Merge pull request #269 from dragon-zhang/dev_mac_support_cross_compilation
mac support cross compile
2022-04-10 21:50:13 +08:00
zhengshuxin
76199ea5e6 Shared stack has been as the default compiling options. 2022-04-10 19:35:16 +08:00
hailang
5ef96d62fe Merge remote-tracking branch 'origin/master' into dev_mac_support_cross_compilation 2022-04-10 17:29:58 +08:00
hailang
3ddff50476 mac support cross compile 2022-04-10 15:43:29 +08:00
root
40dc44f72d test memcpy from Clickhouse 2022-04-09 20:02:58 +08:00
zhengshuxin
62fad2d17b Don't crash if setsid() error in acl_master 2022-04-08 17:50:52 +08:00
zhengshuxin
ddb2232be8 modify service configure for fiber mode 2022-04-08 08:16:02 +08:00
zhengshuxin
7c1660e415 optimize share stack mode for fiber 2022-04-08 08:10:14 +08:00
zhengshuxin
12006e2ff1 shared stack mode can be selected by users 2022-04-08 07:32:06 +08:00
zhengshuxin
f3ff13cc37 add fiber attr to control if using share stack when create one fiber. 2022-04-07 23:48:05 +08:00
zhengshuxin
a81e8880c4 Disable shared stack in default mode 2022-04-07 09:31:37 +08:00
zhengshuxin
9c8fc9dba4 master_fiber.cpp can be used in shared stack mode. 2022-04-06 18:21:51 +08:00
zhengshuxin
a764811066 acl redis module can be used in fiber shared stack mode. 2022-04-06 17:53:33 +08:00
zhengshuxin
67b964c8b0 optimize for shared stack for redis client lib in pipeline mode 2022-04-05 22:17:16 +08:00
zhengshuxin
da8cb4b5ed test httpd_proxy 2022-04-04 12:24:16 +08:00
zhengshuxin
21503e93cd optimize and test shared stack in fiber module 2022-04-03 21:52:23 +08:00
zhengshuxin
3a74c65d81 Merge branch 'master' of gitee:zsxxsz/acl into gitee-zsxxsz 2022-04-03 00:16:40 +08:00
郑树新
a9b4053454 test httpd_proxy 2022-04-03 00:16:05 +08:00
zhengshuxin
af816bd946 test httpd_proxy demo 2022-04-02 23:59:44 +08:00
zhengshuxin
7783529c47 test httpd_proxy demo 2022-04-02 23:48:10 +08:00
zhengshuxin
e9b62fdc14 fixed bugs in httpd_proxy demo 2022-04-02 16:31:12 +08:00
zhengshuxin
6cf533d280 fixed one compiling warning on Ubuntu 2022-04-01 23:08:00 +08:00
zhengshuxin
c4509a539b test shared stack 2022-04-01 19:06:54 +08:00
zhengshuxin
b7ad2688dc test demo for shared stack 2022-04-01 17:43:42 +08:00
zhengshuxin
f4417b313a add more demos for testing shared stack 2022-04-01 17:37:58 +08:00
zhengshuxin
cadde6f996 add acl_fiber_get_shared_stack_size() 2022-04-01 14:39:54 +08:00
zhengshuxin
2d0dd07155 test fiber 2022-03-31 21:44:43 +08:00
zhengshuxin
01b0683a80 delete unused files 2022-03-31 21:28:52 +08:00
zhengshuxin
300de6b7e4 poll.c can support shared stack 2022-03-31 18:35:14 +08:00
zhengshuxin
e9ab8794c1 test shared stack of fiber module 2022-03-31 07:37:20 +08:00
zhengshuxin
49d4f2d5ce The fiber module has supported shared stack mode to decrease memory usage for many cocurrent clients. 2022-03-30 19:11:25 +08:00
zhengshuxin
f46a765ff7 Disable debug for valgrind in Makefile 2022-03-27 18:51:05 +08:00
zhengshuxin
7007d4d1fb optimize event_epoll.c 2022-03-26 22:06:59 +08:00
zhengshuxin
9ace98a715 test fiber event 2022-03-26 14:18:31 +08:00
zhengshuxin
fd46bf0c70 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2022-03-23 21:24:05 +08:00
zhengshuxin
6520151c67 Don't write log in fiber_io_check() to avoid writing log recursively when user hooks the log process. 2022-03-23 21:22:56 +08:00
shuxin   zheng
294c672158 optimize log module of fiber 2022-03-23 18:48:31 +08:00
zhengshuxin
043eae1fee optimize hook/poll.c 2022-03-23 17:33:10 +08:00
zhengshuxin
4da53a2d6d optimize epoll.c for hooking system API in fiber module. 2022-03-23 16:00:31 +08:00
zhengshuxin
e1c6f218de add one test demo 2022-03-23 10:07:10 +08:00
shuxin   zheng
2072e84431 build ok on MacOS 2022-03-22 16:12:22 +08:00
zhengshuxin
1ced194a2b optimize the API epoll's hooking in fiber module 2022-03-22 15:55:58 +08:00
zhengshuxin
921e2b4971 optimize the epoll API when checking IO timeout process same as poll API in fiber module 2022-03-18 15:04:24 +08:00
zhengshuxin
58cc790373 modify comments 2022-03-16 18:15:37 +08:00
zhengshuxin
cf30060e4f add setParseBody() in HttpServletRequest class 2022-03-16 18:14:45 +08:00
shuxin   zheng
9fceb75a52 support MacOS arm64 2022-03-15 16:32:07 +08:00
zhengshuxin
efed44582f modify compiling condition which jump lib should be used on diffrent platform 2022-03-15 16:25:32 +08:00
郑树新
c738ab47b7
Merge pull request #267 from dragon-zhang/dev_support_m1
fiber support apple m1 chip
2022-03-15 16:07:12 +08:00