On Fri, Sep 13, 2019 at 05:03:34AM +0200, Willy Tarreau wrote: > - enable USE_CPU_AFFINITY for OSX. Please try to improve your change > using "#if defined(__APPLE__)" instead of "#if !defined(__APPLE__)" > as the construct looks quite confusing with nested #ifs.
On this last point, if the set_affinity code becomes really too messy, probably that we should have a wrapper in compat.h to do this per-os. Willy

