]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
db: disable SIGHUP if ring buffer is used.
authorEric Leblond <eric@regit.org>
Thu, 9 May 2013 09:20:37 +0000 (11:20 +0200)
committerEric Leblond <eric@regit.org>
Tue, 21 May 2013 17:57:07 +0000 (19:57 +0200)
commitc6bfadfdf8aef2dc84eabade6b4198fec7b00b44
treeaadd901a742b457a0ec3d2158af84a623a3967b1
parentbc817c2077ddfb37041a20cf7c71bc71b4d56003
db: disable SIGHUP if ring buffer is used.

The handling of signal when using threads can be complicated. When
ring buffer is used for query, this means ulogd will have to follow
some sort of mutex. Thus, it is easier and better performance wise
to disable the reload via SIGHUP when the ring buffer is used.
util/db.c