mirror of
https://github.com/boostorg/asio.git
synced 2026-01-29 19:12:09 +00:00
* Update copyright notice. * Version bump. * Fix out-of-bounds address_v4::broadcast() return value on 64-bit systems. * Use correct interrupt method when timerfd is not available. Fixes #5045 [SVN r68200]
24 lines
449 B
C++
24 lines
449 B
C++
//
|
|
// yield.hpp
|
|
// ~~~~~~~~~
|
|
//
|
|
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
|
|
#include "coroutine.hpp"
|
|
|
|
#ifndef reenter
|
|
# define reenter(c) CORO_REENTER(c)
|
|
#endif
|
|
|
|
#ifndef yield
|
|
# define yield CORO_YIELD
|
|
#endif
|
|
|
|
#ifndef fork
|
|
# define fork CORO_FORK
|
|
#endif
|