Branch: refs/heads/master Home: https://github.com/fabbione/kronosnet Commit: 6e9eed2c23fea29c01de44d20e489aed69828aa9 https://github.com/fabbione/kronosnet/commit/6e9eed2c23fea29c01de44d20e489ae... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2016-06-17 (Fri, 17 Jun 2016)
Changed paths: M libknet/logging.c
Log Message: ----------- [logging] rework locking around logging
make sure to check/fill data after locking and complete write before release the lock.
also use trylock vs lock since most log are called while already locked and it's cleaner.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com