Commit Graph

60 Commits

Author SHA1 Message Date
zhengshuxin
e1ca2d117a test fiber_sbox2 when using unique_ptr 2023-06-20 16:43:51 +08:00
zhengshuxin
8265c1c330 Use shared_ptr to protect socket_stream accepted. 2023-06-18 00:01:20 +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
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
4d2259e912 Add fiber_tbox2 for supporting std::shared_ptr. 2023-05-24 16:27:24 +08:00
shuxin   zheng
fbe061245c test aio_server in fiber mode 2023-01-16 17:04:30 +08:00
zhengshuxin
37a5f3bcd0 Test fcntl for hooking API 2023-01-16 16:26:31 +08:00
zhengshuxin
bdb35bc6e9 Optimize hook API of fcntl. 2023-01-16 16:22:38 +08:00
郑树新
0496e4680a compile demos on windows for x64 2022-09-06 15:20:02 +08:00
郑树新
58dceb57d5 optimize vs projects 2022-09-05 20:44:55 +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
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
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
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
0c6ace92e0 test fiber demo 2022-01-24 09:02:42 +08:00
zhengshuxin
1b010b8fd9 test fiber on linux 2022-01-23 23:56:48 +08:00
郑树新
566961f9a4 fixed some bugs in iocp mode in fiber module 2022-01-23 23:46:19 +08:00
郑树新
dbdcfb5511 add socket control for connecting server with timeout in non-blocking 2022-01-22 09:44:28 +08:00
shuxin   zheng
a5416395ed test SO_RCVTIMEO in fiber mode 2022-01-21 21:41:28 +08:00
郑树新
474c2258f5 test fiber on windows 2022-01-20 23:58:22 +08:00
郑树新
87bb2ea18f add fiber tests 2022-01-20 23:06:54 +08:00
zhengshuxin
17a08ea4aa test fiber demo 2022-01-13 23:28:23 +08:00
郑树新
2beca0cdce test fiber in multiple threads 2022-01-13 23:17:41 +08:00
郑树新
eb361c4d32 add one demo for testing fiber in multiple threads on windows platform 2022-01-13 22:49:21 +08:00
郑树新
249d34c53c test fiber demo 2021-10-13 20:40:22 +08:00
郑树新
e2deb72f12 test demos 2021-10-12 21:25:08 +08:00
郑树新
566cc3b010 test iocp in fiber 2021-10-12 20:54:54 +08:00
shuxin   zheng
91474bbd3e build ok for Unix 2021-10-12 11:39:41 +08:00
郑树新
c43293a6ac optimize and test fiber event in iocp mode 2021-10-12 11:34:19 +08:00
郑树新
3a2df0f612 add one fiber demo 2021-10-12 08:56:56 +08:00
郑树新
96a825025d optimize and test iocp mode in fiber module 2021-10-11 23:31:14 +08:00
郑树新
6f12882b80 test iocp 2021-10-10 23:09:32 +08:00
郑树新
fca21901ac test iocp for fiber module 2021-10-07 23:13:21 +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
郑树新
c0719a1b2e optimize vc projects 2021-09-14 18:34:21 +08:00
郑树新
9d3f6d5cfd test API hook for fiber module on Windows platform. 2021-08-22 23:15:38 +08:00
郑树新
04aaede734 optimize fiber module by hooking system API on windows 2021-08-19 21:45:41 +08:00
shuxin   zheng
1a48b07d9f the even waiting timeout should be restored in acl_fiber_poll/epoll_wait and the 100 ms limit discarded when timeout == 0 2021-06-06 10:05:02 +08:00
zhengshuxin
e77b95f2ce test aio server in fiber mode 2020-10-08 22:09:34 +08:00