Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / asio / test / latency / yield.hpp
1 //
2 // yield.hpp
3 // ~~~~~~~~~
4 //
5 // Copyright (c) 2003-2014 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) CORO_REENTER(c)
15 #endif
16
17 #ifndef yield
18 # define yield CORO_YIELD
19 #endif
20
21 #ifndef fork
22 # define fork CORO_FORK
23 #endif