David CARLIER
David CARLIER
linux support only for now.
Moving the part in separated compat implementation (also couple of other OS support cpu affinity, e.g. NetBSD, with different APIs). Most of CPU_* macros are compatible minus CPU_AND.
Also fixes a memory leak and avoids crashes when reallocation fails.
also renaming few types to avoid conflicts with existing ones.
Proposal to make it compilable under BSD