Commit f975858e authored by Committed by Tomasz Miąsko
gcancellable: Synchronize access to cancelled flag
Synchronize access to cancelled flag of cancellable, which was previously access without synchronization in g_cancellable_is_cancelled. Use atomic operations instead of existing global mutex, to avoid serializing calls to g_cancellable_is_cancelled across all threads.
Showing with 12 additions and 11 deletions