Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Fix race conditions is case of threaded Iterate() call #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nvoronchev
Copy link

@nvoronchev nvoronchev commented Jan 23, 2019

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 nvoronchev changed the title Fix possible multithreading issue Fix race conditions is case of threaded Iterate() call May 24, 2019
@nvoronchev nvoronchev force-pushed the master branch 2 times, most recently from 414ce6c to b46d945 Compare December 3, 2019 19:52
Base automatically changed from master to main March 10, 2021 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant