libcopp
2.2.0
|
LIBCOPP_MACRO_TLS_STACK_PROTECTOR
to work with -fstack-protector
-pthread
flag detection.-fno-rtti
now.valid()
for task_promise
(C++ 20 coroutine).unhandled_exception
when without exception.Valgrind_ROOT
promise_error_transform
for C++20 coroutine.task_future
task_future
task_manager<task_type, container_type>
to task_manager<task_type>
2.We will keep ABI compatitablity for all assemblly APIs and will change the suffix when ABI changed.
cotask::task
changesvalue_type
to task_macro ( macro_coroutine
)LIBCOPP_DISABLE_THIS_MT
to LIBCOPP_LOCK_DISABLE_THIS_MT
COPP_MACRO_ENABLE_VARIADIC_TEMPLATE
STD_DECLTYPE
, COPP_MACRO_TYPEOF
libcopp/utils/std/decltype.h
libcopp/utils/config/compiler_features.h
libcopp/utils/std/functional.h
libcopp/utils/std/smart_ptr.h
git
.find_package(<PackageName>)
<PackageName>_DIR
LIBCOPP_DISABLE_ATOMIC_LOCK
and LIBCOPP_DISABLE_THIS_MT
..
[OPTIMIZE]
cotask::task` can capture all integer type of return value now.task::await
into
task::await_task<tt>, Some compile don't allowawait_task` as function name.SetUnhandledExceptionFilter
is available to catchunhandled exception in coroutine actionuint64_t
and use the id allocator with thread cache.Warning: client switching stacks?
in unit test when enable valgrind support.-DLIBCOPP_FCONTEXT_USE_TSX=ON
for default.cotask::task::await
into cotask::task::await_task
cotask::task<TCO_MACRO, TTASK_MACRO>
with cotask::task<TCO_MACRO>
, we don't allow to custom id allocator now.cotask::core::standard_int_id_allocator<uint64_t>
with copp::util::uint64_id_allocator
, we don't allow to custom id allocator now.v0.1.0