On 2022-08-14 06:21, Elad Lahav wrote:
+#elif defined (__QNX__) + uintptr_t runmask; + int ret; + + runmask = (1UL << cpu); + ret = ThreadCtl(_NTO_TCTL_RUNMASK, (void *)runmask); + if (ret) { + perror("sched_setaffinity"); + abort(); + }
Argh, I've just noticed the mix of tabs and spaces here. What's the protocol for updating a patch?
--Elad