I'm looking to create a realtime thread in Nim- Linux-only is fine for now.
In C, [according to the LInux foundation](https://wiki.linuxfoundation.org/realtime/documentation/howto/applications/application_base), creating a realtime thread looks like this (shortened C-like pseudocode): function thread_func(){ } attr = attr_init(); setstacksize(attr, PTHREAD_STACK_MIN); setschedpolicy(attr, SCHED_FIFO); setschedparam(attr, priority=80); setinheritsched(attr, PTHREAD_EXPLICIT_SCHED) pthread_create(thread, attr, thread_func) Run I know I could just use a pthread with C-like init code, but I wanted to see if I can proper Nim threads (at least under linux). I had a look at the Nim `createThread` code, and for linux it looks just like the above, minus the real time attribute. Before I go ahead and create my own patched `createThread` (or use posix ones- ew), is there someone who has already done work in this area? I couldn't find anything anywhere. Thanks!
