Commit Graph

504 Commits

Author SHA1 Message Date
zhengshuxin
f67cac51a6 optimize and test io_uring 2022-10-17 01:55:43 -04:00
zhengshuxin
a1f492844a test 2022-10-10 02:32:21 -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
61c6053c29 build ok on macos 2022-10-11 22:37:09 +08:00
zhengshuxin
1ed47abeb1 optimize and test io_uring... 2022-10-08 15:15:21 -04:00
zhengshuxin
dd3fcc3919 add and test io_uring... 2022-10-09 11:30:07 -04:00
zhengshuxin
42bc75c237 test io_uring ... 2022-10-09 01:46:14 -04:00
zhengshuxin
615bb8d2c0 test and optimize io_uring 2022-10-08 14:07:32 -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
14e9a8a159 adding io_uring ... 2022-10-08 10:25:40 -04:00
zhengshuxin
64dab7b0f9 adding io_uring ... 2022-10-08 07:23:56 -04:00
郑树新
f52536bd5a build dynamic DLL ok on windows 2022-09-14 16:24:54 +08:00
郑树新
58dceb57d5 optimize vs projects 2022-09-05 20:44:55 +08:00
zhengshuxin
864179f7fe test hooked IO api in fiber module 2022-09-05 10:33:40 +08:00
zhengshuxin
c9f82e8b85 format macro 2022-09-05 09:40:19 +08:00
zhengshuxin
5e3f7358ba optimize fiber_file_close() of fiber_io.c 2022-09-02 23:25:28 +08:00
zhengshuxin
fbd053268f restore socket IO process templely 2022-09-01 11:26:01 +08:00
zhengshuxin
ae39d3ec94 optimize network IO module. 2022-08-29 17:09:02 +08:00
郑树新
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
785487b466 add wait_group for fiber module like sync.WaitGroup in Golang 2022-08-01 15:48:21 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
zhengshuxin
63c994a1d4 test fiber event in multiple threads mode 2022-07-03 23:49:44 +08:00
zhengshuxin
6309cc694f build ok acl by xmake 2022-06-14 15:35:33 +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
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
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