Thanks!!! Oh yes I love std/posix- the emphasis here was 'quick'. A `pthread` solution is throwaway, any more effort would have to go towards Nim threads with `SCHED_FIFO`.
Maybe copy/paste `createThread` into `createThreadRealtime`, add scheduling and put into Nimble package. But I don't know which intricacies to test.