rock-core / tools-roby

The roby plan manager
Other
3 stars 11 forks source link

interface: make sure UI event notifications are MT-safe #100

Closed doudou closed 6 years ago

doudou commented 6 years ago

UI events are meant to be sent from various places in the system, and are really meant to be forwarded to the outside interfaces. It's not reasonable to require that they are all generated from the event loop.

This fixes an actual bug where file watching in Syskit would send an UI event (conf file change) which would then end up writing packets in the wrong thread.

g-arjones commented 6 years ago

cool.. 👍