zhengshuxin
|
b4ef412762
|
add one demo for test waiting fiber with fiber_tbox
|
2022-12-16 21:57:41 +08:00 |
|
zhengshuxin
|
a77777c6f9
|
add dead lock test
|
2022-12-16 20:29:03 +08:00 |
|
zhengshuxin
|
92d5fdc284
|
release 3.6.0-2 for compatibility for calling gettid() on Linux.
|
2022-12-16 14:53:04 +08:00 |
|
zhengshuxin
|
ffe5b13c9e
|
compiling ok on ubuntu
|
2022-12-16 13:48:37 +08:00 |
|
shuxin zheng
|
4706251ffa
|
build ok on macos
|
2022-12-16 13:44:49 +08:00 |
|
zhengshuxin
|
050276c8fe
|
fixed one occasionally bugs in fiber_mutex that the waiter can't be wakeuped.
|
2022-12-16 12:42:47 +08:00 |
|
zhengshuxin
|
5b6d473d7b
|
test demo
|
2022-12-16 12:00:57 +08:00 |
|
zhengshuxin
|
61f9c60c8a
|
format code style
|
2022-12-16 10:39:18 +08:00 |
|
zhengshuxin
|
22c65aba40
|
macro define should enclosed in brackets
|
2022-12-16 10:38:48 +08:00 |
|
zhengshuxin
|
a20e6ee97a
|
adding fiber dead lock ...
|
2022-12-13 17:45:21 +08:00 |
|
zhengshuxin
|
0440437f5c
|
adding fiber mutex dead lock ...
|
2022-12-10 17:11:29 +08:00 |
|
zhengshuxin
|
41d6e8b53b
|
add some comments
|
2022-12-09 18:33:57 +08:00 |
|
zhengshuxin
|
a5ea885bb1
|
test fiber_tbox
|
2022-12-09 18:32:29 +08:00 |
|
zhengshuxin
|
bc029e4dd8
|
The eventfd can't use socket IO API which can only use read/write API.
|
2022-12-09 18:31:41 +08:00 |
|
zhengshuxin
|
773ddad8c6
|
optimize fiber_read.c/fiber_write.c by using C macro
|
2022-12-09 18:27:57 +08:00 |
|
zhengshuxin
|
bbcb2484f8
|
just compiling for linux
|
2022-12-08 17:23:56 +08:00 |
|
shuxin zheng
|
65221aab45
|
add new files into the vs projects in fiber module
|
2022-12-08 17:18:51 +08:00 |
|
shuxin zheng
|
7b0b7c73bb
|
move some internal IO functions into one file io.h
|
2022-12-08 17:12:13 +08:00 |
|
zhengshuxin
|
16db7043e4
|
optimize for one FILE_EVENT can be used by more fibers simultaneously.
|
2022-12-08 16:47:28 +08:00 |
|
zhengshuxin
|
dec66530a2
|
fixed one bug that lseek can't distinguish eventfd and file fd, so we use another method to do it.
|
2022-12-08 16:31:02 +08:00 |
|
zhengshuxin
|
970c19e531
|
test ...
|
2022-12-08 14:27:01 +08:00 |
|
zhengshuxin
|
901c42b804
|
optimizing fiber module ...
|
2022-12-07 21:38:46 +08:00 |
|
zhengshuxin
|
2d66b48b75
|
add one demo to test multiple threads and fibers writing log with the same fd
|
2022-12-06 21:57:19 +08:00 |
|
zhengshuxin
|
7ef9870487
|
delete unused file
|
2022-12-06 16:53:14 +08:00 |
|
zhengshuxin
|
0a4ecd5d94
|
rename file_read.c/file_write.c to fiber_read.c/fiber_writer.c
|
2022-12-06 15:34:27 +08:00 |
|
zhengshuxin
|
2b2f6dd57f
|
move IO read/write to the file_read.c/file_write.c
|
2022-12-05 18:40:22 +08:00 |
|
zhengshuxin
|
0b559431ea
|
add conditional compiling for statx, renameat in fiber module
|
2022-12-03 20:06:02 +08:00 |
|
zhengshuxin
|
3f557c576a
|
prepare for the new version 3.6.0
|
2022-12-01 20:22:33 +08:00 |
|
zhengshuxin
|
69fcff4150
|
test demo
|
2022-12-01 19:42:48 +08:00 |
|
zhengshuxin
|
b81c1f9db0
|
init res value
|
2022-11-30 13:48:10 +08:00 |
|
zhengshuxin
|
db0b4971f0
|
The res value be set to acl_fiber_set_error in file_close() wasn't inited yet.
|
2022-11-30 13:45:31 +08:00 |
|
zhengshuxin
|
d0f1050531
|
optimize and test io_uring for closing and canceling IO processes.
|
2022-11-30 13:06:31 +08:00 |
|
zhengshuxin
|
77b5c570e3
|
delete unused codes
|
2022-11-29 11:46:14 +08:00 |
|
zhengshuxin
|
4250115464
|
add more comments and add more safety codes for close fd in no-fiber mode.
|
2022-11-28 23:32:26 +08:00 |
|
zhengshuxin
|
753bff583b
|
test
|
2022-11-24 20:27:01 +08:00 |
|
zhengshuxin
|
ca5ca77dff
|
remove debug info
|
2022-11-24 20:24:06 +08:00 |
|
zhengshuxin
|
7330aa00bb
|
test fiber
|
2022-11-24 20:05:46 +08:00 |
|
zhengshuxin
|
4a00da4e38
|
fixed bugs in io.c of fiber module when calling write api in no-coroutine mode.
|
2022-11-24 06:55:38 +08:00 |
|
zhengshuxin
|
8e8db764fd
|
fixed one bug there's a dead-locking when fiber_cond waits timedout
|
2022-11-23 13:20:02 +08:00 |
|
zhengshuxin
|
2bca98c50e
|
add new files into vs's projects
|
2022-11-21 23:14:35 +08:00 |
|
zhengshuxin
|
ea42500c68
|
optimize and test redis client pipeline mode with the new fiber_tbox with less eventfd.
|
2022-11-21 22:58:52 +08:00 |
|
zhengshuxin
|
638b966ec6
|
add header
|
2022-11-21 20:44:59 +08:00 |
|
zhengshuxin
|
ba76a210b8
|
build ok by xcode
|
2022-11-21 20:43:45 +08:00 |
|
zhengshuxin
|
8353981a96
|
optimize all box classes and redis_client_pipeline can create box by virtual create function.
|
2022-11-21 20:27:09 +08:00 |
|
zhengshuxin
|
da61f288ae
|
optimize and test fiber_cond
|
2022-11-21 11:51:31 +08:00 |
|
zhengshuxin
|
96b6a74fbe
|
optimize and test fiber_cond
|
2022-11-21 00:16:49 +08:00 |
|
zhengshuxin
|
24a553e66b
|
optimize fiber_mutex, fiber_cond
|
2022-11-20 22:30:15 +08:00 |
|
郑树新
|
150c7a21b9
|
test fiber in UI on windows
|
2022-11-20 12:41:09 +08:00 |
|
郑树新
|
96dda1a925
|
compile on windows
|
2022-11-19 22:12:08 +08:00 |
|
zhengshuxin
|
fec4daee79
|
fixed bugs when open_limit return -1, we should use one default value for event_select.c and event_poll.c in fiber.
|
2022-11-19 21:20:41 +08:00 |
|