Re: [PATCH] CodeSamples: Enable building on QNX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux