shuxin zheng
|
65f1027941
|
Change type the timer from unsigned to size_t.
|
2024-03-23 11:18:14 +08:00 |
|
zhengshuxin
|
1cee9d59c7
|
Add functions for modify and get the current connections count for fiber server template.
|
2024-03-02 10:51:27 +08:00 |
|
zhengshuxin
|
5e7b208702
|
Add pre_exit callback before service exiting which is different with the old on_exit callback.
|
2024-03-01 17:23:27 +08:00 |
|
郑树新
|
454a78d402
|
Test fiber in GUI on windows platform.
|
2024-01-16 18:34:08 +08:00 |
|
zhengshuxin
|
4ee1036c41
|
Change the cmake required from 3.2.0 to 2.8.0.
|
2023-11-22 14:57:39 +08:00 |
|
zhengshuxin
|
cb514a856d
|
Modify comments.
|
2023-11-02 10:45:30 +08:00 |
|
zhengshuxin
|
c88263f251
|
Add sync kill mode for killing one suspended fiber.
|
2023-11-02 10:42:40 +08:00 |
|
zhengshuxin
|
f45e5c1a33
|
Optimize filber killing process.
|
2023-07-13 19:19:26 +08:00 |
|
zhengshuxin
|
5a3980cbc9
|
Optimize fiber's codes.
|
2023-07-13 10:11:28 +08:00 |
|
zhengshuxin
|
3e7a588d60
|
Add set_fdlimit in fiber.hpp
|
2023-06-21 10:56:02 +08:00 |
|
zhengshuxin
|
478008e99a
|
Add comment in go_fiber.hpp
|
2023-06-20 17:19:17 +08:00 |
|
zhengshuxin
|
e1ca2d117a
|
test fiber_sbox2 when using unique_ptr
|
2023-06-20 16:43:51 +08:00 |
|
zhengshuxin
|
54a295b0f2
|
rename fiber_sem_t_def to fiber_sem_t_sync.
|
2023-06-18 17:36:58 +08:00 |
|
zhengshuxin
|
154920d0fe
|
Add size() for fiber_sbox class.
|
2023-06-12 18:27:07 +08:00 |
|
zhengshuxin
|
0dfd92493f
|
optimize and test fiber_sbox
|
2023-06-12 11:36:02 +08:00 |
|
zhengshuxin
|
45e4d74add
|
Add fiber_sbox2() for transfering object such as shared_ptr.
|
2023-06-11 21:35:19 +08:00 |
|
zhengshuxin
|
6b96da683f
|
format code style.
|
2023-06-11 18:34:41 +08:00 |
|
zhengshuxin
|
ab148987ce
|
service templates in the mode of fiber or thread can bind wildcad addresses.
|
2023-05-25 19:00:22 +08:00 |
|
zhengshuxin
|
d14accaefb
|
Add comments for fiber_tbox2.
|
2023-05-24 17:33:09 +08:00 |
|
zhengshuxin
|
4d2259e912
|
Add fiber_tbox2 for supporting std::shared_ptr.
|
2023-05-24 16:27:24 +08:00 |
|
zhengshuxin
|
03e76d0a7e
|
fiber_sem add async mode for posting message.
|
2023-05-12 23:25:58 +08:00 |
|
shuxin zheng
|
30e28278e9
|
Build ok for multiple platforms.
|
2023-04-17 16:28:35 +08:00 |
|
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 |
|