new b2 property or new boost library?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

new b2 property or new boost library?

Boost - Dev mailing list
boost.fiber provides some rudimentary NUMA support.
NUMA specific OS APIs require the native thread handle (native_handle_type
std::thread::native_handle()). But unfortunately the returned type does not
match in all cases the OS handle type. For instance MinGW-W64 using the
POSIX thread impl returns long long instead of void*.

A solution would be to add an additional b2 property like `numa=on` that
compiles the NUMA related part of boost.fiber if set (the user is
responsible to compile boost with the appropriate properties).
Or the NUMA related code is move from boost.fiber into a complete new boost

What would be you advice?


Unsubscribe & other changes: