shuxin zheng
|
408c6e0db0
|
acl_fiber_stacktrace() can't be used on MacOS because libunwind don't support MacOS.
|
2023-01-03 15:47:19 +08:00 |
|
zhengshuxin
|
0732c5dd06
|
We can get any fibers' stack now.
|
2023-01-03 15:33:41 +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
|
79ee418c14
|
test fiber_cond
|
2022-12-25 16:20:13 +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
|
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 |
|
郑树新
|
75526ace1a
|
build ok on windows
|
2022-12-17 19:20:20 +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
|
5b6d473d7b
|
test demo
|
2022-12-16 12:00:57 +08:00 |
|
zhengshuxin
|
a5ea885bb1
|
test fiber_tbox
|
2022-12-09 18:32:29 +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
|
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
|
69fcff4150
|
test demo
|
2022-12-01 19:42:48 +08:00 |
|
zhengshuxin
|
d0f1050531
|
optimize and test io_uring for closing and canceling IO processes.
|
2022-11-30 13:06:31 +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
|
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
|
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
|
9cac39c265
|
optimize and test fiber_cond, fiber_mutex on io_uring
|
2022-11-19 19:15:28 +08:00 |
|
zhengshuxin
|
1f2f79c192
|
optimize fiber_mutex by using context switch when the owner and waiter are in the same thread
|
2022-11-18 16:47:10 +08:00 |
|
郑树新
|
c2537bf2f7
|
test ...
|
2022-11-17 18:11:33 +08:00 |
|
shuxin zheng
|
a4ea9e8129
|
optimize and test fiber_mutex, fiber_cond on macos
|
2022-11-17 11:24:56 +08:00 |
|
zhengshuxin
|
ce0a0c6468
|
testing ...
|
2022-11-16 23:18:22 +08:00 |
|
shuxin zheng
|
ed6e04e63b
|
decrease the size of ACL_FIBER
|
2022-11-16 18:13:08 +08:00 |
|
zhengshuxin
|
eb9739942e
|
optimize and test fiber_mutex, fiber_cond
|
2022-11-16 15:41:33 +08:00 |
|
zhengshuxin
|
d0cf77f92c
|
test fiber_cond
|
2022-11-13 12:39:51 -05:00 |
|
zhengshuxin
|
652008e29a
|
optimize and test fiber_mutex, fiber_cond
|
2022-11-13 12:00:09 -05:00 |
|
zhengshuxin
|
14f0900b73
|
optimize ...
|
2022-11-14 05:43:55 -05:00 |
|
zhengshuxin
|
0ad17e5048
|
test fiber_cond ...
|
2022-11-14 02:56:57 -05:00 |
|
zhengshuxin
|
bbafef19ad
|
optimize and test fiber_mutex.c
|
2022-11-12 21:15:51 -05:00 |
|
zhengshuxin
|
d4981e0a9a
|
test ...
|
2022-11-10 10:12:10 -05:00 |
|
zhengshuxin
|
3d8a6a7879
|
optimize and test fiber_mutex ...
|
2022-11-09 09:09:00 -05:00 |
|
zhengshuxin
|
ddaeb6ed99
|
add fiber_mutex test
|
2022-11-08 08:52:39 +08:00 |
|
zhengshuxin
|
4d81f0fe5f
|
adding fiber_mutex ...
|
2022-11-07 18:28:28 +08:00 |
|
zhengshuxin
|
fa5d46f3b3
|
test
|
2022-11-02 10:28:00 -04:00 |
|
zhengshuxin
|
aef12af92e
|
test file copy with io_uring
|
2022-10-31 05:51:34 -04:00 |
|
zhengshuxin
|
b78e958dea
|
test splice, pread, pwrite in multiple coroutines in multiple threads
|
2022-10-31 04:54:43 -04:00 |
|
郑树新
|
733e83c5b6
|
test fiber with iocp engine
|
2022-10-30 23:27:48 +08:00 |
|
zhengshuxin
|
bd04860c0e
|
optimize io_uring engine in lib_fiber
|
2022-10-30 05:48:23 -04:00 |
|
zhengshuxin
|
159e6b6bb4
|
test fiber
|
2022-10-27 06:14:15 -04:00 |
|
zhengshuxin
|
3f36b8da2f
|
optimize and test fiber module
|
2022-10-24 03:33:06 -04:00 |
|
zhengshuxin
|
13bbba5061
|
compilie one demo
|
2022-10-23 21:56:29 -04:00 |
|
郑树新
|
106283c9f4
|
build ok for windows
|
2022-10-23 18:08:20 +08:00 |
|
zhengshuxin
|
fd146d9935
|
just compiling
|
2022-10-23 05:41:36 -04:00 |
|
zhengshuxin
|
03e2dcd588
|
add io_uring building condition
|
2022-10-23 17:36:25 +08:00 |
|
zhengshuxin
|
5baf77edf5
|
add conditional compiling for using io_uring
|
2022-10-23 17:22:14 +08:00 |
|
zhengshuxin
|
7dbfda84ab
|
test demo
|
2022-10-20 06:05:26 -04:00 |
|
zhengshuxin
|
a8241bfdcc
|
optimize and test pread/pwriter in io_uring engine
|
2022-10-20 05:32:22 -04:00 |
|
zhengshuxin
|
d8db1f5de9
|
test and optimize ...
|
2022-10-21 06:30:55 -04:00 |
|
zhengshuxin
|
acac293ee1
|
test sendfile ...
|
2022-10-20 01:25:54 -04:00 |
|
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 |
|