Use lists for uevent processing
authorHannes Reinecke <hare@suse.de>
Wed, 25 Feb 2009 15:10:16 +0000 (16:10 +0100)
committerHannes Reinecke <hare@suse.de>
Tue, 17 May 2011 09:29:14 +0000 (11:29 +0200)
commit651847893a8efdc3ed4f24a610db4b307b0dcefd
tree320c776fe1f7ac6158cffc61ba4c50b39195f27c
parent6888db0777e46ff057de5a48e522a5ac573f6115
Use lists for uevent processing

We now have proper list definitions, so we might as well use them
for uevent processing. And we can clean up signalling, too;
the pthreads condition signalling is unreliable, as a condition
signal might be lost if we're in the middle of processing. So
we should rather check the queue status prior to wait for a
condition.
And we can introduce a pthread cleanup handler, as well.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/uevent.c
libmultipath/uevent.h