Commit Graph

123 Commits

Author SHA1 Message Date
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
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
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +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
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
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
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
zhengshuxin
03e2dcd588 add io_uring building condition 2022-10-23 17:36:25 +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
de6a5afb3a Don't expose acl_fiber_hook_api() 2022-05-29 13:04:02 +08:00
zhengshuxin
12006e2ff1 shared stack mode can be selected by users 2022-04-08 07:32:06 +08:00
zhengshuxin
f4417b313a add more demos for testing shared stack 2022-04-01 17:37:58 +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
郑树新
dbdcfb5511 add socket control for connecting server with timeout in non-blocking 2022-01-22 09:44:28 +08:00
郑树新
c0719a1b2e optimize vc projects 2021-09-14 18:34:21 +08:00
郑树新
8b50e80af3 optimize DNS of fiber for windows 2021-09-08 00:17:57 +08:00
郑树新
e0601e582f test some fiber module on windows 2021-08-23 18:41:23 +08:00
郑树新
2f47091920 test winapi hook in fiber module on Windows platform. 2021-08-19 23:31:12 +08:00
shuxin   zheng
5a4ae5b475 don't use _WINDLL for win32/win64 platform 2020-11-05 16:05:47 +08:00
郑树新
3cd10f87a1 build ok by vc 2020-10-19 22:25:35 +08:00
shuxin   zheng
24124b87e7 format code, replace "\n" with "\r\n" for all source files. 2020-08-21 14:55:03 +08:00
shuxin   zheng
112dcdbba3 rewrite http service templates in wizard 2020-06-29 14:34:16 +08:00
shuxin   zheng
27c8892cec test http server 2020-06-26 21:45:51 +08:00
shuxin   zheng
9ee5ed7fad rename method name 2020-06-26 15:34:55 +08:00
shuxin   zheng
96b2e94f8a rename methods names 2020-06-26 15:33:31 +08:00
shuxin   zheng
dee4ebeaea http module can response json&xml data 2020-06-26 15:21:13 +08:00
shuxin   zheng
ccce38b52d test demo 2020-06-26 10:33:10 +08:00
shuxin   zheng
e65dbcba3e optimize http server module written by c++11 in libfiber 2020-06-25 11:58:01 +08:00
zhengshuxin
640b7b6e02 test http_server module of fiber on Linux 2020-06-24 17:35:37 +08:00
shuxin   zheng
d30e84f888 add http server module in fiber written by c++11 2020-06-24 16:46:05 +08:00
zhengshuxin
b511572d47 optmize go_fiber 2020-06-23 11:46:53 +08:00
shuxin   zheng
6641dc1cac add lost c++11 header in go_fiber.hpp 2020-06-13 14:49:31 +08:00
shuxin   zheng
83ba45c98a optimize go fiber api for c++11 2020-06-13 14:33:08 +08:00
shuxin   zheng
ff74ac0377 optimize mem checker module 2020-06-13 10:54:34 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00