Boost logo

Boost :

Subject: [boost] new b2 property or new boost library?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2018-05-11 12:21:43


Hi,
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
library.

What would be you advice?

Oliver


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk