Jan, Please understand that I will not merge any ha^w"extensions" on top of > an RT Linux variant, neither RTAI nor any other approach. The proper > abstractions are RTDM for RT, Linux for non-RT base services, and any > other services have to be provided by the RTnet core. If something is > missing, let us discuss clean extensions. > I looked at rtdm/drvlib.c and: a) I need *binary* semaphores [rtdm_sem_init provides only counting semas]: I don't care how many times my FPGA IRQ signalled that the RX thread must run, it suffices if it ran once when it wake up; b) I need *barriers*: when threads are told to stop they must *sync* on a barrier with the main thread so the main thread can *delete* the threads & their associated resources *safely*.
This are basic threading primitives and they *should* be provided by drvlib.c I will convert the driver to use rtdm_task_init_cpuid & al but I would welcome some sample code. What is cpuid? Would 0xFF do? Regards, Vlad
------------------------------------------------------------------------------
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users