Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
464B

  1. //
  2. // yield.hpp
  3. // ~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2019 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. #include "coroutine.hpp"
  11. #ifndef reenter
  12. # define reenter(c) ASIO_CORO_REENTER(c)
  13. #endif
  14. #ifndef yield
  15. # define yield ASIO_CORO_YIELD
  16. #endif
  17. #ifndef fork
  18. # define fork ASIO_CORO_FORK
  19. #endif