cbpporter Messages: 1428 Registered: September 2007
Ultimate Contributor
I did some testing and at least for relatively short tasks where precision is required, SetProcessorAffinity does not seem to be needed.
Didier's version is under Windows virtually the same as mine, so the Linux version could be used to produce a POSIX implementation too. On the other hand, I do not know the GetTickCount you implement under Linux and its resolution, so there might be no need for an improvement there.