libcopp
2.2.0
src
libcotask
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
5
#include <
libcotask/this_task.h
>
6
7
LIBCOPP_COTASK_NAMESPACE_BEGIN
8
namespace
this_task
{
9
LIBCOPP_COTASK_API
impl::task_impl
*
get_task
() LIBCOPP_MACRO_NOEXCEPT {
return
impl::task_impl::this_task
(); }
10
}
// namespace this_task
11
LIBCOPP_COTASK_NAMESPACE_END
impl::task_impl
Definition:
task_impl.h:40
impl::task_impl::this_task
static LIBCOPP_COTASK_API task_impl * this_task()
Definition:
task_impl.cpp:51
this_task
Definition:
this_task.h:10
this_task::get_task
LIBCOPP_COTASK_API impl::task_impl * get_task() LIBCOPP_MACRO_NOEXCEPT
get current running task
Definition:
this_task.cpp:9
this_task.h
Generated by
1.9.1