[fabbione/kronosnet] 6e9eed: [logging] rework locking around logging
noreply at github.com
Fri Jun 17 08:27:41 CEST 2016
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
Date: 2016-06-17 (Fri, 17 Jun 2016)
[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 at redhat.com>
More information about the Commits