Commit Graph

3907 Commits

Author SHA1 Message Date
zhengshuxin
d14accaefb Add comments for fiber_tbox2. 2023-05-24 17:33:09 +08:00
shuxin   zheng
ca1728d4e3 Add fiber_tbox2.hpp into xcode project. 2023-05-24 16:36:59 +08:00
zhengshuxin
4d2259e912 Add fiber_tbox2 for supporting std::shared_ptr. 2023-05-24 16:27:24 +08:00
zhengshuxin
6fa297ae4d Optimize wizard's template for http service. 2023-05-21 22:10:02 +08:00
zhengshuxin
425927b886 recvmmsg API's declaration is different between Ubuntu and CentOS. 2023-05-19 17:57:49 +08:00
zhengshuxin
becf9dc59d Add timeouted read when using fiber_recvmmsg in fiber module. 2023-05-19 17:26:05 +08:00
zhengshuxin
603fd9938b Support hooking recvmmsg/sendmmsg API in libfiber. 2023-05-19 17:13:46 +08:00
zhengshuxin
a4bc2bd75c test redis_pubsub 2023-05-15 13:45:41 +08:00
zhengshuxin
b11cdaa7e7 test redis_pubsub 2023-05-14 23:08:17 +08:00
zhengshuxin
aef4edb85a test redis redis_pubsub. 2023-05-14 22:59:42 +08:00
zhengshuxin
4a52f59b50 test redis_pubsub 2023-05-13 22:59:07 +08:00
zhengshuxin
00b266843b Test fiber_sem. 2023-05-13 00:06:50 +08:00
zhengshuxin
03e76d0a7e fiber_sem add async mode for posting message. 2023-05-12 23:25:58 +08:00
zhengshuxin
1f1e47e4cd Add HTTP PUT for demo 2023-05-05 14:18:50 +08:00
zhengshuxin
c564646a32 modify webpage 2023-04-29 12:26:18 +08:00
zhengshuxin
2d0fa87a8e format code style 2023-04-27 10:50:21 +08:00
zhengshuxin
c220e156e9 format code style of fiber module. 2023-04-27 10:39:55 +08:00
zhengshuxin
d8f3bcd4ec test fiber in sharing stack mode. 2023-04-26 14:11:40 +08:00
zhengshuxin
152053d343 Change the sharing stack's size from 1MB to 10MB. 2023-04-25 18:40:24 +08:00
zhengshuxin
2a76327350 mysql_init API isn't thread-safely, so we should lock it before calling the API. 2023-04-21 18:51:13 +08:00
zhengshuxin
557a8ab913 Delete unused files. 2023-04-20 10:57:06 +08:00
shuxin   zheng
30e28278e9 Build ok for multiple platforms. 2023-04-17 16:28:35 +08:00
zhengshuxin
a8eb86e67a Fixed dead lock when writing log after fork() in acl_master. 2023-04-17 11:04:34 +08:00
zhengshuxin
af706f7143 Build fiber's demos sucessfully on cs6 and cs5 2023-04-11 15:59:13 +08:00
zhengshuxin
661fd20115 Rename acl-master package's service name from master to acl-master. 2023-04-11 14:59:18 +08:00
zhengshuxin
e1b8c269f5 Rename acl-master's service name from master to acl-master. 2023-04-11 14:52:30 +08:00
郑树新
9c5e5662f6 The AF_UNSPEC should be treated as AF_INET on Windows so the udp service can run correctly. 2023-04-08 20:55:35 +08:00
shuxin   zheng
467ec6d741 Fixed bugs in mqtt module 2023-04-06 18:13:35 +08:00
zhengshuxin
37ee4f42e6 test share stack of fiber 2023-04-04 19:08:26 +08:00
zhengshuxin
5de8370700 Optimize and test sharing stack of fiber. 2023-04-04 16:35:31 +08:00
zhengshuxin
39c749a13d optimize the performance of redis_builder 2023-04-03 22:04:13 +08:00
zhengshuxin
4699c2f4c0 ETIMEDOUT should be used other than ETIME. 2023-03-31 23:18:38 +08:00
zhengshuxin
f4360ba693 Redis pipeline module can be used in sharing stack mode of fiber. 2023-03-31 21:51:45 +08:00
shuxin   zheng
2573cb6656 redis pipeline mode shouldn't use stack object for sharing stack of fibers 2023-03-31 14:30:56 +08:00
zhengshuxin
49212d2210 Fixed one bug that the socket shouldn't be closed in mqtt_client.cpp when some IO errors happen. 2023-03-30 16:29:42 +08:00
zhengshuxin
331e4826dc Don't write some error log 2023-03-30 16:29:29 +08:00
zhengshuxin
8d371b0a17 Use ETIME other ETIMEDOUT on Unix-like OS. 2023-03-29 22:57:44 +08:00
zhengshuxin
66551ff234 build ok by cmake 2023-03-27 20:48:27 +08:00
zhengshuxin
922d1f196c Add websocket supporting in the service's project created by wizard app. 2023-03-25 22:52:19 +08:00
shuxin   zheng
639d2c9081 test unit_test for lib_acl on MacOS. 2023-03-22 17:57:55 +08:00
zhengshuxin
2ac3eef044 Optimize htable module 2023-03-22 17:20:21 +08:00
shuxin   zheng
2486695cc0 Fixed one bug in fiber_mutex module where some resouce collision maybe happen. 2023-03-22 14:56:05 +08:00
zhengshuxin
3b4c518ab9 release 3.6.1.1 version 2023-03-21 10:47:46 +08:00
zhengshuxin
62107801c1 optimize codes. 2023-03-20 17:01:23 +08:00
shuxin   zheng
639e1af308 Optimize objects' size in acl_cpp module. 2023-03-20 11:57:14 +08:00
zhengshuxin
60ef870ff5 build on macos 2023-03-19 23:01:02 +08:00
zhengshuxin
afeb562f8a MacOS doesn't support CLOCK_REALTIME_COARSE, we should use CLOCK_REALTIME. 2023-03-19 22:56:13 +08:00
zhengshuxin
43dde62075 Optimeize peformance by using clock_gettime to replace gettimeofday 2023-03-19 21:21:11 +08:00
zhengshuxin
16bc2151a6 test clock_gettime vs gettimeofday 2023-03-19 20:51:23 +08:00
zhengshuxin
389158b1a3 Optimize fiber's performance by decreasing the count of calling gettimeofday. 2023-03-18 19:19:57 +08:00