]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-events: open database on each thread
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 May 2013 16:11:26 +0000 (13:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 May 2013 16:33:31 +0000 (13:33 -0300)
commit47bae23b6fba58855b8ddb8371db26c129e9428a
tree4bc6b5ca917a142879dfd875f2933b1e601c1113
parentf25dd3bcaabf5b759a881362311b253375e5f722
ras-events: open database on each thread

sqlite3 is only able to prevent race issues between different
threads if each thread opens its own connection to the database.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ras-events.c
ras-events.h
ras-record.c