0

Specifically, I wonder if a stackful coroutine library exists that

  • would allow a coroutine to be started by one thread and be resumed by another
  • doesn't create ASAN issues (boost coroutines2 with detail::forced_unwind exception)
  • doesn't do its own scheduling

I have googled extensively and have not found any library that fulfills all these requirements. Several come close (boost which is unable to play well with ASAN, others that do their own thread scheduling). If one does not exist, are there any hacks/workarounds that could be used to take one library and make it fulfill all the requirements (like make boost play well with ASAN, or manually schedule the threads from another library)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.