zhengshuxin
|
c674ebeac2
|
Adding unit testing framework for fiber module.
|
2022-12-28 17:04:41 +08:00 |
|
zhengshuxin
|
150ef70ca9
|
optimize unitest module
|
2022-12-28 15:46:00 +08:00 |
|
zhengshuxin
|
4e73f4be3a
|
fiber_cond using the global timer to waiting timer arriving.
|
2022-12-28 12:40:18 +08:00 |
|
zhengshuxin
|
eae6be59ed
|
Optimize sync_timer.c by using the global timer.
|
2022-12-28 00:01:44 +08:00 |
|
zhengshuxin
|
d2ac79798a
|
Optimize fiber's timer module for performance improvement by using AVL tree.
|
2022-12-27 16:20:47 +08:00 |
|
zhengshuxin
|
18897d8f70
|
modify acl build date
|
2022-12-27 09:39:11 +08:00 |
|
zhengshuxin
|
7eed42a74a
|
fixed one bug in sync_timer.c for waiting with timeout
|
2022-12-26 18:49:24 +08:00 |
|
zhengshuxin
|
6173212d7c
|
modify acl modify date
|
2022-12-25 17:05:19 +08:00 |
|
zhengshuxin
|
0a06559547
|
just optimize codes
|
2022-12-25 16:54:14 +08:00 |
|
zhengshuxin
|
79ee418c14
|
test fiber_cond
|
2022-12-25 16:20:13 +08:00 |
|
zhengshuxin
|
6667c02ca9
|
optimize sync_waiter.c when the waiter fiber and the wakeup fiber are in the same thread.
|
2022-12-25 16:19:05 +08:00 |
|
zhengshuxin
|
199bae6894
|
add checking before call sync_timer_await
|
2022-12-25 16:18:41 +08:00 |
|
zhengshuxin
|
078601357a
|
fixed one bug that the function pointer of IO api maybe not been set
|
2022-12-25 16:16:39 +08:00 |
|
zhengshuxin
|
da9959c4db
|
Don't add reference for FILE_EVENT in poll.c
|
2022-12-22 16:23:39 +08:00 |
|
zhengshuxin
|
078e0b23fd
|
The current running fiber should be set in poll.c
|
2022-12-20 16:15:46 +08:00 |
|
zhengshuxin
|
7a8694e367
|
Fixed one bug in poll.c for closing another fiber's fd
|
2022-12-20 15:34:47 +08:00 |
|
zhengshuxin
|
afaf06e041
|
add another more efficient sendfile's implement than by using splice.
|
2022-12-12 02:36:11 +08:00 |
|
zhengshuxin
|
fbbf99ea0d
|
delete usless MACRO define
|
2022-12-12 01:00:43 +08:00 |
|
zhengshuxin
|
8901830536
|
test fiber_stop demo
|
2022-12-19 15:00:03 +08:00 |
|
zhengshuxin
|
cf53a8add4
|
add one demo.
|
2022-12-11 21:31:18 +08:00 |
|
zhengshuxin
|
882899d182
|
Add new QQ group for developers
|
2022-12-18 15:49:15 +08:00 |
|
郑树新
|
75526ace1a
|
build ok on windows
|
2022-12-17 19:20:20 +08:00 |
|
zhengshuxin
|
93a7a0513d
|
test keys_pattern() in redis_key.cpp
|
2022-12-16 22:32:12 +08:00 |
|
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
|
3b2019c4ba
|
release 3.6.0-1 version
|
2022-12-16 13:05:05 +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 |
|