HomeClusterLabs Projects

High: core: Fixes race condition in mainloop add/delete fd wrapper functions.

Description

High: core: Fixes race condition in mainloop add/delete fd wrapper functions.

The g_io_add_watch_full id is never cancelled in mainloop_del_fd().
This means it is possible the mainloop_fd callbacks can be invoked
again after mainloop_del_fd() is executed.

Details

Provenance
David Vossel <dvossel@redhat.com>Authored on May 17 2012, 3:11 PM
Parents
rPfc0cc41223dc: High: Legacy: Fix compilation when building for corosync < 2.0
Branches
Unknown
Tags
Unknown

Event Timeline