libcopp 2.3.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
this_task.cpp
Go to the documentation of this file.
1// Copyright 2023 owent
2
3#include <libcopp/utils/config/libcopp_build_features.h>
4
6
7LIBCOPP_COTASK_NAMESPACE_BEGIN
8namespace this_task {
9LIBCOPP_COTASK_API impl::task_impl *get_task() LIBCOPP_MACRO_NOEXCEPT { return impl::task_impl::this_task(); }
10} // namespace this_task
11LIBCOPP_COTASK_NAMESPACE_END
static LIBCOPP_COTASK_API task_impl * this_task()
Definition task_impl.cpp:51
LIBCOPP_COTASK_API impl::task_impl * get_task() LIBCOPP_MACRO_NOEXCEPT
get current running task
Definition this_task.cpp:9