mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
212cf8efbd
dmeventd is 'scanning' statuses in loop (most usually in 10sec intervals) - and meanwhile it sleeps within: pthread_cond_timedwait() However this function call tends to wakeup sometimes a short amount of time sooner - and our code still believe the 'right time' has not yet arrived and basically for a moment 'busy-looped' on calling this function - so for systems with 'clock_gettime()' present we obtain time and we go 10ms to the future second - this avoids unneeded repeated invocation of our time scheduling loop. TODO: monitoring during 1 hour 'time-change'... |
||
---|---|---|
.. | ||
plugins | ||
.exported_symbols | ||
.gitignore | ||
dmeventd.c | ||
dmeventd.h | ||
libdevmapper-event.c | ||
libdevmapper-event.h | ||
libdevmapper-event.pc.in | ||
Makefile.in |