1 | // |
2 | // yield.hpp |
3 | // ~~~~~~~~~ |
4 | // |
5 | // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
6 | // |
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
9 | // |
10 | |
11 | #include "coroutine.hpp" |
12 | |
13 | #ifndef reenter |
14 | # define reenter(c) BOOST_ASIO_CORO_REENTER(c) |
15 | #endif |
16 | |
17 | #ifndef yield |
18 | # define yield BOOST_ASIO_CORO_YIELD |
19 | #endif |
20 | |
21 | #ifndef fork |
22 | # define fork BOOST_ASIO_CORO_FORK |
23 | #endif |
24 | |