<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large">Hi All,</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">    I want to implement a number of processors query on MacOS & other unices to complement the info provided by GetSystemInfo on Windows. The natural way to do this on unices is to use sysconf (3), and of course this points to the issue for which FFI pools are needed, the constant names for sysconf such as _SC_NPROCESSORS_ONLN are defined, but their values are implementation dependent.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">But before I go amd implement an FFI pool for this I thought I'd ask</div><div class="gmail_default" style="font-size:large">a) anyone already done this?  Is it published anywhere?</div><div class="gmail_default" style="font-size:large">b) how are we going to organize such pools so that people don't have to reinvent the wheel?</div><div class="gmail_default" style="font-size:large">c) should there be a pool to cover sysconf or to cover unistd.h?  (the point here is that while the pool might start off small, it could grow and grow and maybe unistd.h is too much surface to cover)</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">thoughts, suggestions?</div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div>