Fix race conditions in signal handling
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 10 Jan 2014 18:58:14 +0000 (19:58 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 10 Jan 2014 19:00:11 +0000 (20:00 +0100)
commit3d77dda32f4d7525b4553eaa99eb44bb28bcc113
tree2526690f05c7d757fbf8908fe0e78d957573974a
parentf32139023a83bf2bb3713d1a447ed042c36c9e3c
Fix race conditions in signal handling

Avoid several race conditions by using distinct variables for the different
signals. In particular different signals received in quick succession don't
overwrite each other any more, and odhcp6c_signal_process doesn't return true
anymore when a new SIGIO is received while another is still being processed.
src/odhcp6c.c