]> git.itanic.dy.fi Git - rrdd/commit
process: Add debug wrappers for pthread mutex operations
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 8 Jul 2016 19:42:42 +0000 (22:42 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 8 Jul 2016 19:42:42 +0000 (22:42 +0300)
commit4dcd6db9fe9ca5f63800781f64e655df2d4eb12f
tree55360abd4cf4ba6a8f3b5e9ea5411196efd24e1f
parentd0dcf4230a22156fc48207091587549f7c30e252
process: Add debug wrappers for pthread mutex operations

This is the beginning of the work to convert the concurrency model
from fork-bomb based model to pthreads.

To get started, add a wrapper functions to handle locking. Namely,
these wrappers will log where the lock was acquired and will print out
who is holding it in case of contention.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Makefile
process.c
process.h