From 3fd89450610679c6b777767632d2af5751773295 Mon Sep 17 00:00:00 2001 From: sr Date: Wed, 17 Jul 2013 12:10:01 +0200 Subject: Replace all pthread_spin_* calls with spin_*, so that all locking can be tracked and debugged Fix compilation of kernel module --- src/server/locks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/locks.h') diff --git a/src/server/locks.h b/src/server/locks.h index 9a0a024..6558558 100644 --- a/src/server/locks.h +++ b/src/server/locks.h @@ -13,10 +13,10 @@ int debug_spin_init(const char *name, const char *file, int line, pthread_spinlock_t *lock, int shared); int debug_spin_lock(const char *name, const char *file, int line, pthread_spinlock_t *lock); int debug_spin_unlock(const char *name, const char *file, int line, pthread_spinlock_t *lock); -int debug_spin_destory(const char *name, const char *file, int line, pthread_spinlock_t *lock); +int debug_spin_destroy(const char *name, const char *file, int line, pthread_spinlock_t *lock); +void debug_locks_start_watchdog(); void debug_dump_lock_stats(); -void *debug_thread_watchdog(void *something); #else -- cgit v1.2.3-55-g7522