On 4/30/23 14:58, Peter Dimov via Boost wrote:
Andrey Semashev wrote:
I didn't say anything against refactoring, in fact I'm arguing that we should maintain our existing libraries (which includes refactoring) rather than add new libraries with duplicate components.
You did create the (stillborn) Sync though, which duplicates Thread. Why?
It doesn't fully duplicate Boost.Thread. It added new synchronization primitives and added support for different timing libraries besides Boost.Chrono. There was another idea that Boost.Thread became too large and difficult to maintain. So the thread synchronization primitives were supposed to be extracted to a separate library, Boost.Sync, leaving only thread launching and high-level tools like future/promise, async and thread pool in Boost.Thread.
participants (1)
-
Andrey Semashev