Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/asio/yield.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 // | |
2 // yield.hpp | |
3 // ~~~~~~~~~ | |
4 // | |
5 // Copyright (c) 2003-2013 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 |