libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
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:42
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.8