Commit Graph

744 Commits

Author SHA1 Message Date
郑树新
026485c21e compile acl on windows ok 2022-08-22 22:32:23 +08:00
zhengshuxin
1944187834 It't not reasonable in acl_fiber_poll() that the max timeout will used when the timeout is -1. 2022-08-15 15:11:41 +08:00
zhengshuxin
e664f21494 build acl ok on Cygwin 2022-08-06 20:03:51 +08:00
zhengshuxin
4623e568ac add MASTER_SERVICE=ALONE environment to control service running in alone mode 2022-08-03 15:36:23 +08:00
zhengshuxin
06bb626faa release new version for fixed one bugs in fiber_server.cpp 2022-08-03 10:15:41 +08:00
zhengshuxin
eeb441afcb fixed one bug in fiber_server.cpp when using shared stack mode 2022-08-03 10:09:03 +08:00
zhengshuxin
b1506818eb fiber service template can use SO_REUSEPORT for unix domain socket 2022-08-02 23:21:44 +08:00
zhengshuxin
608dc0c4f4 test wait_group of fiber module 2022-08-01 22:13:42 +08:00
郑树新
d96e7f55b8 build acl ok on windows platform. 2022-08-01 22:05:07 +08:00
zhengshuxin
9f839e7363 add wait_group in fiber module 2022-08-01 21:57:07 +08:00
shuxin   zheng
4374153f00 add wait_group.cpp in xcode project of acl 2022-08-01 16:02:21 +08:00
zhengshuxin
785487b466 add wait_group for fiber module like sync.WaitGroup in Golang 2022-08-01 15:48:21 +08:00
zhengshuxin
d5bac0b0b1 optimize acl_master and service templates 2022-07-26 16:08:25 +08:00
zhengshuxin
af97334509 acl-master service framework and fiber service template support SO_REUSEPORT option. 2022-07-25 15:30:41 +08:00
zhengshuxin
42fa722e3f optimize service template 2022-07-19 17:28:03 +08:00
zhengshuxin
14fce1cc1a optimize for making valgrind happy 2022-07-18 11:42:25 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
shuxin   zheng
cb1d69dc77 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2022-07-04 18:14:47 +08:00
zhengshuxin
63c994a1d4 test fiber event in multiple threads mode 2022-07-03 23:49:44 +08:00
zhengshuxin
745e80a412 add one demo for test fiber 2022-07-03 00:26:12 +08:00
shuxin   zheng
5b772a8132 test sleep in fiber mode 2022-06-27 10:26:49 +08:00
zhengshuxin
6309cc694f build ok acl by xmake 2022-06-14 15:35:33 +08:00
shuxin   zheng
bf7a09bf2c Add one control if acl_master.log can be generated in alone mode for master service. 2022-06-12 20:32:08 +08:00
shuxin   zheng
6df3228b6f add mapping offset for string 2022-06-12 18:02:35 +08:00
zhengshuxin
b04c80e269 test redis hash in pipeline mode 2022-06-07 18:09:03 +08:00
shuxin   zheng
e4e3615f34 build for arm32 2022-06-02 23:06:53 +08:00
shuxin   zheng
835eaf3c4e build for arm32 2022-06-02 23:04:15 +08:00
shuxin   zheng
de6a5afb3a Don't expose acl_fiber_hook_api() 2022-05-29 13:04:02 +08:00
zhengshuxin
6a64963645 test 2022-05-22 13:10:56 +08:00
shuxin   zheng
ce0655e938 modify comments for ring structure 2022-05-11 18:42:08 +08:00
zhengshuxin
f90faf5542 fixed one bug in acl_fiber_yield() API in fiber.c where the returning value is invalid. 2022-05-11 17:39:28 +08:00
郑树新
95dbc454d6
Merge pull request #275 from sidyhe/bugfix2
fiber: bugfix recv when signal
2022-05-07 13:24:02 +08:00
郑树新
a1898f5cc6
Merge pull request #276 from sidyhe/bugfix3
fiber: /etc/hosts only for unix
2022-05-07 00:09:54 +08:00
Sid
3c3be91cf9
parse hosts for win32 2022-05-06 17:42:45 +08:00
Sid
086ea99044
fiber: /etc/hosts only for unix 2022-05-06 03:12:23 +08:00
sid
b1193d39c7 fiber: bugfix recv when signal 2022-05-06 02:44:24 +08:00
Sid
4801b5c8ee
fiber: bugfix unexpect exit
无IO协程时调度器异常退出 (win/linux)

复现步骤: 创建一个协程, 进行几个IO操作, 然后死循环 acl_fiber_delay(1000)
2022-05-06 02:33:51 +08:00
郑树新
854c1aa4ca merge and format event_iocp.c; add dns-gate demo project 2022-05-01 23:29:31 +08:00
郑树新
295913207d
Merge pull request #272 from sidyhe/bugfix
fiber: bugfix for win32 (add_read and iocp_wait)
2022-05-01 23:15:52 +08:00
Sid
2aab3ff9a0
fiber: fix doze for win32
在win32中不能使用select延时
2022-04-28 17:41:01 +08:00
Sid
2b43c3c5f6
typo 2022-04-28 10:43:01 +08:00
Sid
8214ff0d9e
fiber: iocp optimize
reduce repeat code
2022-04-28 10:38:56 +08:00
sid
1133a1dd33 fiber: bugfix for win32 (add_read and iocp_wait) 2022-04-27 21:58:36 +08:00
zhengshuxin
e7c3bb2142 test redis pipeline in fiber shared stack mode 2022-04-18 22:51:00 +08:00
zhengshuxin
d9f0c8b5da remove some compiling options for MacOS 2022-04-11 19:09:39 +08:00
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