Commit Graph

230 Commits

Author SHA1 Message Date
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
zhengshuxin
63b5f80298 Add some debug functions. 2023-02-05 10:25:54 +08:00
zhengshuxin
3ff6cf80fb c++ headers dependence 2023-02-04 21:00:37 +08:00
zhengshuxin
6edfd3c74d headers sequence 2023-02-04 20:49:54 +08:00
zhengshuxin
8224e8888a Add default event type in acl::fiber::schedule() 2023-01-26 16:03:16 +08:00
zhengshuxin
8d719cbe30 Add fiber_mutex_guard class for easily using fiber_mutex. 2023-01-17 17:39:57 +08:00
zhengshuxin
70e825f513 Rename id() to fiber_id() in fiber.hpp 2023-01-17 17:18:56 +08:00
zhengshuxin
3ef3fa8128 Add C++ API for fiber mutex deadlock checking. 2023-01-11 22:29:45 +08:00
zhengshuxin
758dd3852a Add stacktrace for fiber cpp lib. 2023-01-11 10:22:33 +08:00
shuxin   zheng
4706251ffa build ok on macos 2022-12-16 13:44:49 +08:00
shuxin   zheng
65221aab45 add new files into the vs projects in fiber module 2022-12-08 17:18:51 +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
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
9cac39c265 optimize and test fiber_cond, fiber_mutex on io_uring 2022-11-19 19:15:28 +08:00
郑树新
51b7ea8ebb test fiber module on windows platform 2022-11-17 15:16:53 +08:00
zhengshuxin
f84cfa370d change the cpp of fiber according the c's changing. 2022-11-13 10:37:41 -05:00
zhengshuxin
4d81f0fe5f adding fiber_mutex ... 2022-11-07 18:28:28 +08:00
郑树新
1f0798f7dd compile on windows 2022-10-30 20:06:23 +08:00
zhengshuxin
a87aadb291 add io_uring in master service template. 2022-10-26 11:21:28 -04:00
zhengshuxin
9286a008c5 test 2022-10-26 07:03:34 -04:00
zhengshuxin
efe06cd020 test io_uring ... 2022-10-25 06:54:43 -04:00
zhengshuxin
515e388b2e Add support io_uring in service template - master_fiber 2022-10-23 20:42:57 +08:00
zhengshuxin
91b592152d building ... 2022-10-23 17:46:07 +08:00
zhengshuxin
03e2dcd588 add io_uring building condition 2022-10-23 17:36:25 +08:00
zhengshuxin
837e373a4c acl_threads_server can bind unix domain socket when using SO_REUSEPORT. 2022-09-14 14:53:13 +08:00
郑树新
58dceb57d5 optimize vs projects 2022-09-05 20:44:55 +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
e664f21494 build acl ok on Cygwin 2022-08-06 20:03:51 +08:00
zhengshuxin
4623e568ac add MASTER_SERVICE=ALONE environment to control service running in alone mode 2022-08-03 15:36:23 +08:00
zhengshuxin
06bb626faa release new version for fixed one bugs in fiber_server.cpp 2022-08-03 10:15:41 +08:00
zhengshuxin
eeb441afcb fixed one bug in fiber_server.cpp when using shared stack mode 2022-08-03 10:09:03 +08:00
zhengshuxin
b1506818eb fiber service template can use SO_REUSEPORT for unix domain socket 2022-08-02 23:21:44 +08:00
郑树新
d96e7f55b8 build acl ok on windows platform. 2022-08-01 22:05:07 +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
zhengshuxin
d5bac0b0b1 optimize acl_master and service templates 2022-07-26 16:08:25 +08:00
zhengshuxin
af97334509 acl-master service framework and fiber service template support SO_REUSEPORT option. 2022-07-25 15:30:41 +08:00
zhengshuxin
42fa722e3f optimize service template 2022-07-19 17:28:03 +08:00
zhengshuxin
14fce1cc1a optimize for making valgrind happy 2022-07-18 11:42:25 +08:00
郑树新
2830be54fa Acl can be built by cmake tools chanins 2022-07-10 20:13:15 +08:00
zhengshuxin
6309cc694f build ok acl by xmake 2022-06-14 15:35:33 +08:00
shuxin   zheng
bf7a09bf2c Add one control if acl_master.log can be generated in alone mode for master service. 2022-06-12 20:32:08 +08:00
shuxin   zheng
de6a5afb3a Don't expose acl_fiber_hook_api() 2022-05-29 13:04:02 +08:00
zhengshuxin
d9f0c8b5da remove some compiling options for MacOS 2022-04-11 19:09:39 +08:00