CVSROOT: /sources/monit
Module name: monit
Changes by: Jan-Henrik Haukeland <hauk> 07/04/15 23:59:36
Modified files:
. : log.c
Log message:
Actually we don't want to call pthread_mutex_init twice for the same
mutex
and we need the mutex available at program creation. The solution is to
init
it once via a static initializer and not bother destroying it in case
of a
reload and let the mutex live as long as the program runs
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/monit/log.c?cvsroot=monit&r1=1.32&r2=1.33
_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev