Provide yaz_log_{lock,unlock}
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Feb 2014 15:02:10 +0000 (16:02 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Feb 2014 15:02:10 +0000 (16:02 +0100)
commitbc2c68cf9316d95c5b00444aaaa2f0a6127c1aa9
tree480a83481e9261aba3df27f4f0532ed3275e1e4d
parentf31f3ef3afee001257b555e9a94c502a09de3fc4
Provide yaz_log_{lock,unlock}

This is to ensure yaz_log writes are atomic and allows us to use
yaz_log_lock + yaz_log_unlock in threaded+forked applications.
include/yaz/log.h
src/log.c