11 May
2018
11 May
'18
12:21 p.m.
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