interprocess icon indicating copy to clipboard operation
interprocess copied to clipboard

Support stop tokens

Open s13n opened this issue 1 year ago • 1 comments

Since C++20 with std:jthread, there is support for stop tokens in condition variables. It would be nice if the interprocess condition variables would support them, too!

s13n avatar Jun 11 '24 12:06 s13n

Sadly Interprocess condition variables are optimimally wrappers around OS primitives (like POSIX condition variables), so stop_token support can't be added (e..g std::condition_variable does not support it). But maybe we can analyze if boost::interprocess::condition_variable_any can support it just like std::condition_variable_any.

igaztanaga avatar Aug 05 '24 21:08 igaztanaga