MACE
1.0.0
|
00001 // 00002 // yield.hpp 00003 // ~~~~~~~~~ 00004 // 00005 // Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) 00006 // 00007 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00009 // 00010 00011 #include <mace/rpc/http/coroutine.hpp> 00012 00013 #ifndef reenter 00014 # define reenter(c) CORO_REENTER(c) 00015 #endif 00016 00017 #ifndef yield 00018 # define yield CORO_YIELD 00019 #endif 00020 00021 #ifndef fork 00022 # define fork CORO_FORK 00023 #endif