dbus-sharp icon indicating copy to clipboard operation
dbus-sharp copied to clipboard

Fix race conditions is case of threaded Iterate() call

Open nvoronchev opened this issue 6 years ago • 0 comments

For example, in mono/uia2atk project one use two threads:

  • the main thread is used to send outgoing DBus-messages;
  • a dedicated thread spawned to call Bus.Session.Iterate() into an infinite loop to serve incoming DBus-messages.

This leads to numerous multithreading issues. Current PR is aimed to fix them.

nvoronchev avatar Jan 23 '19 14:01 nvoronchev