Skip to content
  • Tomasz Miąsko's avatar
    glocalfilemonitor: Fix data race in local file monitor · 63368641
    Tomasz Miąsko authored
    Ensure that source is attached to the context before it migth be used
    from another thread, since otherwise operation on source are
    unsynchronized and not thread-safe.
    
    In particular there was a data race between g_source_attach and
    g_source_set_ready_time (used from g_file_monitor_source_handle_event).
    63368641