Hello everyone,
how are we supposed to thread-safe add or remove OSCReceiver::Listeners from OSCReceiver. It has a thread pulling data from the datagram socket constantly, and does access its internal osc listener list in no threadsafe way.
The only way right now is to disconnect the OSCReceiver, removing the listener and then reconnecting, if I am not mistaken.
Does it make sense to use a lock for add/remove operations, to allow for quick runtime adding and removal of listeners?
Best regards,
Christoph