Skip to content

Releases: owent/libcopp

1.3.2

04 Sep 09:50
c61ac3b
Compare
Choose a tag to compare

CHANGELOG

  1. [FIX] #16 : document of LIBCOPP_DISABLE_ATOMIC_LOCK and LIBCOPP_DISABLE_THIS_MT .
  2. [FIX] #18 : 'xx' is not a member of 'xxx {aka xxx}' .
  3. [OPTIMIZE] cotask::task can capture all integer type of return value now.
  4. [FIX] Remove warning of c++20 coroutine options when project use both languages of cxx and not cxx.

1.3.1

06 Jul 07:55
3dc8232
Compare
Choose a tag to compare

CHANGELOG

  1. Fix compiler version checker for C++20 coroutine
  2. Add cmake interface option and features for targets
  3. Update documents

1.3.0

04 Jul 06:06
36f9031
Compare
Choose a tag to compare

CHANGELOG

  1. [OPTIMIZE] Using cmake export to generate module files
  2. [OPTIMIZE] Change default visibility of symbols to hidden, we support dll on windows now.
  3. [FIX] Rename task::await into task::await_task, Some compile don't allow await_task as function name.
  4. [BOOST] Merge boost.context 1.73.0
  5. [FEATURE] Implement context of windows fiber and SetUnhandledExceptionFilter is available to catchunhandled exception in coroutine action
  6. [OPTIMIZE] Catch and rethrow unhandle exception after coroutine resumed when using C++11 or upper, most APIs are exception safe now.
  7. [OPTIMIZE] Remove TTASK_MACRO in cotask::task, task id now is always set uint64_t and use the id allocator with thread cache.
  8. [OPTIMIZE] Fix Warning: client switching stacks? in unit test when enable valgrind support.
  9. [FEATURE] Enable -DLIBCOPP_FCONTEXT_USE_TSX=ON for default.
  10. Using sphinx and reStructuredText to rewrite https://libcopp.atframe.work/

BREAK CHANGES & UPGRADE GUIDE FROM 1.2.X

  • Rename cotask::task::await into cotask::task::await_task
  • Replace cotask::task<TCO_MACRO, TTASK_MACRO> with cotask::task<TCO_MACRO> , we don't allow to custom id allocator now.
  • Replace cotask::core::standard_int_id_allocator<uint64_t> with copp::util::uint64_id_allocator , we don't allow to custom id allocator now.
  • Require gcc 4.7+, MSVC 14+(Visual Studio 2015)>)
  • Require cmake 3.12.0 or upper

1.2.1

04 Oct 15:01
e3927a6
Compare
Choose a tag to compare

CHANGELOG

  1. [OPTIMIZE] Add options to disable TLS usage for this_task and this_coroutine to reduce cache miss on single thread situation.
  2. [OPTIMIZE] Implement jump_to(...) as static inline to reduce code cache miss.
  3. [OPTIMIZE] Implement coroutine_context_callback(...) as static local symbol to reduce code cache miss.

1.2.0

20 Aug 07:06
c75b73e
Compare
Choose a tag to compare

CHANGELOG

  1. [OPTIMIZE] Add more unit test.Increase coverage to 90%+.
  2. [OPTIMIZE] Rewrite toolchain detection scripts, support clang-cl now.
  3. [BOOST] merge boost.context 1.71.0.
  4. [FIX] Fix a coredump problem when task_ptr is reset when await other tasks.
  5. [OPTIMIZE] Optimize timer implement, task_manager support modify task timer now.
  6. [OPTIMIZE] A task can only be added to one task_manager now, and when finish task with task's API, task_manager will also be cleanup.
  7. [OPTIMIZE] Fix some warning when compiling with gcc 9+ and clang 8+.
  8. [OPTIMIZE] Use pthread for TLS when both c++11 thead_local and pthread are available. It will reduce the minimal stack size.
  9. [OPTIMIZE] Fix and add some example codes and documents.

1.1.0

07 Dec 13:49
Compare
Choose a tag to compare

CHANGELOG

  1. Support vcpkg
  2. Generate libcopp-config.cmake and libcopp-config-version.cmake for cmake

1.0.0

23 Nov 02:20
Compare
Choose a tag to compare

First release with v2. This release is used in our project and works well.

0.3.4

11 Jun 05:00
Compare
Choose a tag to compare
  1. guess flag when call cotask::start/resume to reduce atomic operation
  2. add reference when call cotask::start to protect cotask from destroy
  3. use functor directly if action based on task_action_impl
  4. fix missing break after alloc failed in benchmark

0.3.3

16 May 07:43
Compare
Choose a tag to compare
  1. 优化结构,减少内存碎片
  2. merge boost 1.64.0
  3. 增加栈池
  4. 支持线程安全

0.3.2

30 Mar 03:30
Compare
Choose a tag to compare
  1. 上一个内测游戏版本使用的版本
  2. merge boost 1.63.0
  3. 协程切换时允许透传用户自定义数据
  4. 修订所有scan-build的warning报告
  5. 修订单元测试里的一些小问题
  6. 修正递归循环跳转时的问题,现在协程yield之前执行resume会返回错误码