Commit Graph

349 Commits

Author SHA1 Message Date
zhengshuxin
7e30d96f45 test sendfile of io_uring ... 2022-10-20 07:14:04 -04:00
zhengshuxin
ecc4a945bd test and optimize io_uring ... 2022-10-17 06:33:14 -04:00
zhengshuxin
b9f1d3f677 optimize and test io_uring module in fiber 2022-10-10 02:25:10 -04:00
zhengshuxin
b3c2ddaac8 adding pread, pwrite, sendfile in io_uring module of fiber 2022-10-09 12:09:09 -04:00
zhengshuxin
ce0c45f8d5 add supporting file operations in io_uring event of fiber mode 2022-10-13 00:48:42 -04:00
zhengshuxin
a78f08a6a9 io_uring in fiber supports file's open, read, and write. 2022-10-12 15:44:37 -04:00
zhengshuxin
4a2f036f7a optimize and test io_uring module in fiber 2022-10-12 05:55:50 -04:00
zhengshuxin
dd3fcc3919 add and test io_uring... 2022-10-09 11:30:07 -04:00
zhengshuxin
82d56ea351 add and test io_uring 2022-10-08 13:34:12 -04:00
zhengshuxin
ac915cf321 adding io_uring ... 2022-10-08 16:45:20 -04:00
zhengshuxin
0b1362ef19 test mysql 2022-09-27 18:02:45 +08:00
郑树新
58dceb57d5 optimize vs projects 2022-09-05 20:44:55 +08:00
zhengshuxin
7c97be44a9 modify demos' IO timeout from 0 to -1 because the changing of IO timeout meaning 2022-08-31 15:05:35 +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
608dc0c4f4 test wait_group of fiber module 2022-08-01 22:13:42 +08:00
zhengshuxin
9f839e7363 add wait_group in fiber module 2022-08-01 21:57:07 +08:00
zhengshuxin
785487b466 add wait_group for fiber module like sync.WaitGroup in Golang 2022-08-01 15:48:21 +08:00
shuxin   zheng
cb1d69dc77 Merge branch 'master' of gitee:zsxxsz/acl into gitee-master 2022-07-04 18:14:47 +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
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
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
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
郑树新
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
zhengshuxin
7c1660e415 optimize share stack mode for fiber 2022-04-08 08:10:14 +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
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
e9b62fdc14 fixed bugs in httpd_proxy demo 2022-04-02 16:31:12 +08:00
zhengshuxin
c4509a539b test shared stack 2022-04-01 19:06:54 +08:00
zhengshuxin
f4417b313a add more demos for testing shared stack 2022-04-01 17:37:58 +08:00
zhengshuxin
2d0dd07155 test fiber 2022-03-31 21:44:43 +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
9ace98a715 test fiber event 2022-03-26 14:18:31 +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
zhengshuxin
48a57a5abe optimize the process that closing one fd from another fiber 2022-03-03 12:42:01 +08:00
郑树新
1801603682 add project for demo fiber_tbox on windows 2022-02-24 23:05:43 +08:00
郑树新
1921afab07 test fiber_tbox on windows 2022-02-24 23:03:10 +08:00
zhengshuxin
0fe52cf465 test setting timeout by setsockopt in fiber module 2022-02-20 23:44:30 +08:00
zhengshuxin
d4a829102f test fiber 2022-02-16 18:16:58 +08:00
zhengshuxin
8d7cf5cdfc build samples ok on WSL ubuntu 2022-01-28 12:28:21 +08:00
root
edf0b72aa3 porting to Alpine Linux ok 2022-01-27 19:37:10 +00:00
郑树新
de77ff891c optimize and test iocp 2022-01-26 18:08:55 +08:00
shuxin   zheng
a5416395ed test SO_RCVTIMEO in fiber mode 2022-01-21 21:41:28 +08:00
zhengshuxin
b8ab3c87bb test 2022-01-21 18:30:13 +08:00
zhengshuxin
16b2a60d20 fixed bugs that the connecting timeout process isn't available in fiber mode 2022-01-21 17:31:50 +08:00
zhengshuxin
e516804b78 fixed one bug in acl_fiber_delay() that the event loops too quickly for the event waiting timeout been set 0. 2021-11-23 17:40:37 +08:00
郑树新
310a87f844 optimize vs projects for windows platform 2021-09-17 00:11:06 +08:00
郑树新
cde03a74d4 optimize vs projects 2021-09-16 19:27:09 +08:00
郑树新
e9ea53d74b the thread fiber should be checked when stopping fiber schedule 2021-09-06 22:44:20 +08:00
郑树新
a4fb983866 test fiber for Win GUI 2021-09-06 16:50:23 +08:00
郑树新
a6f2e61d8c test fiber_tbox for win GUI ok 2021-09-05 23:29:29 +08:00
郑树新
e0601e582f test some fiber module on windows 2021-08-23 18:41:23 +08:00
郑树新
ff71cebfae test fiber on windows 2021-08-23 11:21:59 +08:00
郑树新
9d3f6d5cfd test API hook for fiber module on Windows platform. 2021-08-22 23:15:38 +08:00
郑树新
227a958fd8 add lost project files 2021-08-19 23:40:20 +08:00
郑树新
04aaede734 optimize fiber module by hooking system API on windows 2021-08-19 21:45:41 +08:00
郑树新
2d04980910 optimizing fiber module 2021-08-18 16:07:35 +08:00
zhengshuxin
d0b031f3b6 test keep-alive of http module 2021-07-13 16:17:28 +08:00
zhengshuxin
165d327357 fixed some compiling warning when some modules were disabled. 2021-02-07 09:54:45 +08:00
zhengshuxin
a3db7f9466 add one sample for testing fiber 2021-02-05 23:39:02 +08:00
zhengshuxin
96c35cabb3 test fiber demo 2021-02-02 16:45:16 +08:00
zhengshuxin
b63287774d support read/write timeout by setsockopt in libfiber 2021-01-30 09:11:39 +08:00
zhengshuxin
6b7ae7b883 the socket of one fiber can be closed of another fiber 2021-01-29 13:34:57 +08:00
zhengshuxin
f927b4d736 fiber sem & lock can also be killed by another fiber 2021-01-28 14:58:48 +08:00
zhengshuxin
28feaf3c28 add demos for testing close operation in the other fiber 2021-01-28 14:14:29 +08:00
zhengshuxin
684e1e445e test redis_pipeline 2021-01-09 10:48:53 +08:00
shuxin   zheng
f746ee9b6d acl redis_pipeline module is ok 2021-01-08 14:35:25 +08:00
shuxin   zheng
ab2d78efaf optimize redis_pipeline 2021-01-07 16:35:12 +08:00
zhengshuxin
d811990ade optimize redis_pipeline 2021-01-06 10:07:31 +08:00
zhengshuxin
ebc4adb376 optimize and test redis_pipeline module 2021-01-05 15:42:25 +08:00
zhengshuxin
52181516f3 test redis_pipeline mode 2021-01-03 23:00:24 +08:00
zhengshuxin
d284f41e66 modify redis sample 2021-01-03 18:58:26 +08:00
zhengshuxin
4454e974f0 modify sample for testing redis in fiber mode 2021-01-03 18:03:58 +08:00
zhengshuxin
6554585b29 optimize redis_pipeline 2021-01-02 20:48:36 +08:00
zhengshuxin
f15e6718f0 add one sample for testing redis_pipeline in fiber mode 2021-01-01 21:41:55 +08:00
shuxin   zheng
ea531338d6 format code style 2020-11-05 15:16:35 +08:00
shuxin   zheng
9c853ab7f8 fixed bug in one test demo for testing fiber dns module. 2020-11-01 20:21:21 +08:00
shuxin   zheng
d2ed2e8b29 test building reply package by rfc1035 module 2020-10-24 14:28:15 +08:00
zhengshuxin
c21cc6c733 test dns module 2020-10-24 10:59:00 +08:00
zhengshuxin
845338db4a test dns module 2020-10-23 17:47:50 +08:00
shuxin   zheng
0dd378e35d add dns test benchmark 2020-10-23 15:26:11 +08:00
zhengshuxin
752f5b6de3 fixed bug in demo 2020-10-22 16:00:28 +08:00
zhengshuxin
ce7c7c093a fixed bug in fiber dns module 2020-10-22 15:02:58 +08:00
shuxin   zheng
593fb7693d test fiber and dns 2020-10-22 10:59:12 +08:00
shuxin   zheng
7e89735ac1 dns module has been ready! 2020-10-21 15:48:40 +08:00
shuxin   zheng
72bb6b909d restore fiber 2020-10-08 17:17:21 +08:00
shuxin   zheng
a1383bf620 test fiber 2020-10-08 15:15:33 +08:00