commit | 3107f30baddabf18039a4ca99c8a50b7f13f4de8 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Jul 19 10:52:18 2013 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Jul 30 17:21:20 2013 +0200 |
tree | ff64cebd1eaa5aeb66d319cfcf260bd4482293d1 | |
parent | 9afce4282ecbb32e0cef9282d7f97f2353d7eca1 [diff] |
linux_netlink: Remove use of pthread_cancel Using pthread_cancel() presents the opportunity for deadlock, so use a control pipe to cause the event thread to gracefully exit. Inspired on the identical patch for linux_udev from Chris Dickens. Signed-off-by: Hans de Goede <hdegoede@redhat.com>