Commit Graph

  • f8a3a3ff05 fix some compile warning (#122) kang jinci 2023-07-25 21:55:14 +08:00
  • a61ecfd76b fix(blade): remove redundant dependencies and add missing dependencies (#120) kang jinci 2023-07-20 01:46:48 +08:00
  • 3899fef103 fix blade build (#119) kang jinci 2023-07-15 01:44:17 +08:00
  • 800da37adf fix some bug (#117) kang jinci 2023-07-01 23:54:26 +08:00
  • cf545f1094 fix(logging): FormatLog use perfect forwarding (#116) kang jinci 2023-06-24 23:12:57 +08:00
  • 16f2488b9f chore: format header files (#114) kang jinci 2023-06-19 00:00:20 +08:00
  • 5f24093d1c chore: format code and add clang-format check (#112) kang jinci 2023-06-18 16:15:36 +08:00
  • d653408604 enhancement: optimize latch::count_down (#109) kang jinci 2023-06-09 23:00:23 +08:00
  • bf9b82edc2 fix: GCC13 compile failed (#108) kang jinci 2023-06-08 21:53:42 +08:00
  • 0461a08f28 fix: reduce the number of fibers to pass redis_test (#107) kang jinci 2023-05-11 23:53:15 +08:00
  • 8b676027ee feat: add Expected monadic operations and Unexpected (#102) kang jinci 2023-04-21 01:00:33 +08:00
  • 508e3c147f fix(fiber): possible use-after-free in ut (#103) Luo Bo 2023-04-19 01:33:13 +08:00
  • 73b29d2f40 feat: add ResolveDomain (#100) kang jinci 2023-04-12 22:34:32 +08:00
  • bb5cd22e54 doc: fix broken link (#96) Luo Bo 2023-03-28 22:20:43 +08:00
  • df4dc97cc1 doc: fix broken link fix-link Luo Bo 2023-03-27 23:46:01 +08:00
  • 97cdb7c305 refactor: optimize fold expressions (#95) kang jinci 2023-03-27 23:42:13 +08:00
  • c1013cd189 fix(timer): avoid calling user's timer callback concurrently to avoid thread-safety issues. (#94) Luo Bo 2023-03-20 00:29:19 +08:00
  • df3a042c37 fix(doc): fix the description error in the buffer document (#92) kang jinci 2023-03-19 20:21:03 +08:00
  • 17b70d10f5 Refactor SockAddrToString with flare::Format (#91) kang jinci 2023-03-05 12:06:26 +08:00
  • 365d1ac367 fix(rpc): Use std::monostate exclusively to indicate that the message body is empty. (#90) Luo Bo 2023-02-11 14:52:17 +08:00
  • 193b1f9b5a fix: BasicCountingSemaphore not using template parameters (#88) kang jinci 2022-12-25 21:52:09 +08:00
  • 4fe6e36c81 feat: add Barrier (#87) kang jinci 2022-12-25 21:17:46 +08:00
  • 6edcbfa50c Add unboxed_type (#86) kang jinci 2022-12-18 17:06:52 +08:00
  • d90635ddf0 Adjust CI (#78) kang jinci 2022-12-14 00:31:51 +08:00
  • 430f7e0c06 Fix compile fail (#81) kang jinci 2022-12-13 22:00:25 +08:00
  • ad6fdf02f8 feat: add this_fiber::GetId() interface (#83) kang jinci 2022-12-13 21:59:42 +08:00
  • 37be012382 remove redundant references (#79) kang jinci 2022-12-09 01:42:01 +08:00
  • 4feff801fe Use Ubuntu 20.04 for running CI. Remove __const__ hack. (#80) Luo Bo 2022-12-07 23:26:01 +08:00
  • aff2d8cadd Add constexpr to insert function (#77) kang jinci 2022-12-07 22:09:19 +08:00
  • 64d72fc8c0 New workaround for reading special variables safely in fiber environment. (#72) Luo Bo 2022-05-29 20:04:50 +08:00
  • 89f7f52f12 CTAD of std::tuple may implicitly convert pair<T, U> to tuple<T, U>, suppressing this behavior. (#74) Luo Bo 2022-05-29 20:04:33 +08:00
  • a5003074b8 Removing redundant template arguments. (#73) Luo Bo 2022-05-29 16:10:22 +08:00
  • 078ace2278 Fix compile bug and fiber calling with args (#66) kang jinci 2022-05-29 15:05:15 +08:00
  • 2e2f59da08 Fix handling of arrays in converting JSON to Protocol Buffers message. (#62) Luo Bo 2022-04-02 22:06:32 +08:00
  • 6d3bf3c46a Do not abort on error when formatting logs. Fixed a possible dangling reference in FLARE_CHECK_OP. (#60) Luo Bo 2022-04-02 12:43:18 +08:00
  • a5bc9cb000 Not capturing fiber's execution context when setting a timer. (#59) Luo Bo 2021-12-25 01:09:54 +08:00
  • 7a69d23947 Disabled libidn when configuring libcurl. (#58) Luo Bo 2021-11-25 12:40:05 +08:00
  • b2c84588fe Fix typo in object-pool.md (#57) SF-Zhou 2021-09-26 21:09:08 +08:00
  • 648c2ebf65 Support Option<std::optional<T>>. This allows user to treat missing key as expected and handle the situation accordingly. (#55) Luo Bo 2021-08-13 15:40:23 +08:00
  • 6147c9f8eb Creating cmake scripts for find 3rd-party libraries. cmake-support Luo Bo 2021-08-03 16:33:12 +08:00
  • d41ae2e5fd Policy for determining which NSLB should be used has been moved out. Besides, users can now customize these policies. (#51) Luo Bo 2021-07-19 15:36:57 +08:00
  • 8c3a530be5 Introducing message_dispatcher_factory. This allows us to move policy for determining NSLB out, and customize it (possibly by end-user) as needed. (#49) Luo Bo 2021-07-13 19:03:45 +08:00
  • 7bf26e6587 Now we pass small objects by value. (#50) Luo Bo 2021-07-13 18:57:47 +08:00
  • 2111e3fdcd Exposing internals of flare/base/monitoring.cc. Now internal buffer size is (partly) configurable. (#47) Luo Bo 2021-07-06 23:37:58 +08:00
  • 340b1b0d14 Fix typo. (#46) Luo Bo 2021-07-06 18:16:45 +08:00
  • 6a6617524d Add English README (#44) CHEN Feng 2021-07-01 18:25:31 +08:00
  • 0816e562dd feat#complete the Demangle function implementation in MSVC compiler (#41) guoxiang1996 2021-06-28 14:13:41 +08:00
  • ae8e9827f1 Removed two redundant acquire-fences. Treat empty and non-empty case equally in RunQueue::TryPop(). (#42) Luo Bo 2021-06-26 19:32:01 +08:00
  • 24b6ba53ce hotfix#fix typo in comment (#40) guoxiang1996 2021-06-26 12:32:50 +08:00
  • 4a58451669 fix typo in example code (#39) zjyuan 2021-06-26 10:22:47 +08:00
  • 630bc811c9 Fixed move assignment of Deferred. (#38) Luo Bo 2021-06-25 23:40:38 +08:00
  • 1248d9799d fix typo (#37) zjyuan 2021-06-24 19:07:10 +08:00
  • 9076e74715 We use at least 4 pthread workers to run fibers, unless otherwise specified by user. (#36) Luo Bo 2021-06-23 17:14:57 +08:00
  • 647cb0288b Adding CI. (#35) Luo Bo 2021-06-22 01:28:46 +08:00
  • 52f76daa92 Now we don't instantiate fiber until it's actually run. This alleviates producer-consumer effect of fiber stack allocation (and therefore boost performance.). (#32) Luo Bo 2021-06-21 16:46:04 +08:00
  • bad9f62be0 Upgrading blade to #ea03d43. (#34) Luo Bo 2021-06-18 15:21:53 +08:00
  • fe30705561 Remove dependency to brotlidec when building libcurl. (#33) 果冻虾仁 2021-06-17 23:13:58 -04:00
  • e2697cbd2b Using dedicated folder for building script (as far as we can). Stripped all thirdparty/ prefix in #includes. This permits (possible) integration with other building systems. (#29) Luo Bo 2021-06-15 23:07:46 +08:00
  • f49062154f Getting rid of cmake's package registry. Suppressing gflags from installing to cmake's registry. (#31) Luo Bo 2021-06-14 21:12:44 +08:00
  • 2f7c0a9f7b Object pool's thread-local buffer should be aligned to hardware destructive interference size as well. (#28) Luo Bo 2021-06-13 16:01:16 +08:00
  • 881f82dc26 Optimizing object pool a bit. GCC isn't clever enough to eliminate all dead stores. Besides, we don't have to store a copy of destroyer along with every object. (#25) Luo Bo 2021-06-12 18:35:53 +08:00
  • 4da6409c87 Fixing possible name lookup failure when using flare/base/enum.h to provide bitmask operations. This led to compilation error if both flare/base/option.h and flare/rpc/rpc_client_controller.h were included in same file. (#24) Luo Bo 2021-06-12 18:22:35 +08:00
  • 03b64a8605 We forgot to call parser to parse default value for Option<T>. (#27) Luo Bo 2021-06-12 18:22:02 +08:00
  • 147a9c6cc6 Always use --no-as-needed to make sure link_all_symbols work as intended. (#26) Luo Bo 2021-06-12 01:44:10 +08:00
  • 1b562391f2 Upgrade blade to fix build errors under WSL2 (#21) CHEN Feng 2021-06-03 12:18:01 +08:00
  • 87bcd3f1d9 Fixing broken links. Removing internal dependencies. (#19) Luo Bo 2021-06-01 00:32:34 +08:00
  • afc3c72ef8 Do not install python for blade (#20) CHEN Feng 2021-06-01 00:31:41 +08:00
  • 70dae1c280 It looks the weak symbol trick in libstdc++ forces us to link against pthread, even when no symbol is (from linker's POV) referenced. (#9) Luo Bo 2021-05-31 14:54:20 +08:00
  • 99542dc124 Fix build (#15) Luo Bo 2021-05-31 13:44:15 +08:00
  • 1050a11792 Documenting destruction behavior of Future<>. (#17) Luo Bo 2021-05-31 13:20:15 +08:00
  • 21576e5810 [fix] fix typo in scheduling (#16) mwish 2021-05-31 13:18:08 +08:00
  • b30c1fb223 Merge pull request #8 from LiuYuHui/fix-typo CHEN Feng 2021-05-29 10:30:05 +08:00
  • 047909eaf5 Improve doc v-yuhuiliu 2021-05-29 10:13:38 +08:00
  • f92cb6132e Always use 'lib' as libdir for cmake targets. The default one is not consistent across Linux distros. (#7) Luo Bo 2021-05-29 03:56:21 +08:00
  • 66c029b90e tiny doc improve (#6) mwish 2021-05-29 02:14:25 +08:00
  • d983fa48a7 Removing some internal dependencies; Documenting about Git LFS; Removing broken links. (#5) Luo Bo 2021-05-28 19:45:08 +08:00
  • 0418d9109d Update README and add .gitignore (#3) CHEN Feng 2021-05-28 16:53:36 +08:00
  • 4302b80e31 doc: Documenting more about usage. Added some hyperlinks. (#1) 0x804d8000 2021-05-28 15:21:08 +08:00
  • 9cc00d3105 chore: Importing from internal repository. Luo Bo 2021-05-26 14:11:38 +08:00
  • 4cc351fde4 doc: README.md 0x804d80000 2021-05-26 11:53:10 +08:00