Theoretically this could be lock-free by using a queue of device ports to be added/remove in sync in the process-callback, but realistically adding/removing devices doesn't have to be rt-safe.
Theoretically this could be lock-free by using a queue of device ports to be added/remove in sync in the process-callback, but realistically adding/removing devices doesn't have to be rt-safe.