NVIDIA / stdexec

`std::execution`, the proposed C++ framework for asynchronous and parallel programming.
Apache License 2.0
1.56k stars 159 forks source link

Is currently exec::schedule_after() supported on MSVC or MinGW? #1102

Open denchat opened 1 year ago

denchat commented 1 year ago

From the example folder, it seems that only io_uring_scheduler supports exec::schedule_after() .

https://github.com/NVIDIA/stdexec/blob/c2ebe841a4fa9349c3e79ba1db7fee11e3d24200/examples/io_uring.cpp#L31-L47


Found usage examples only in io_uring:

https://github.com/search?q=repo%3ANVIDIA%2Fstdexec%20%20exec%3A%3Aschedule_after(&type=code

maikel commented 1 year ago

We could certainly implement a thread scheduler that satisfies the timed scheduler concept. I'm sure that @kirkshoop has already something in a branch.

Do you have a running setup on windows? Support on windows is limited and is currently being improved by @vasama

maikel commented 1 year ago

I found kirks implementation here https://github.com/kirkshoop/stdexec/blob/kirkshoop/wip-time-scheduler/include/exec/thread_scheduler.hpp