Commit 33c2ac25 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

Also make this debugging hash class' locks dynamic

parent c153c932
......@@ -35,6 +35,8 @@
#include "hash/hash_slinger.h"
static struct VSC_C_lck *lck_hsl;
/*--------------------------------------------------------------------*/
static VTAILQ_HEAD(, objhead) hsl_head = VTAILQ_HEAD_INITIALIZER(hsl_head);
......@@ -49,6 +51,7 @@ static void __match_proto__(hash_start_f)
hsl_start(void)
{
lck_hsl = Lck_CreateClass("hsl");
Lck_New(&hsl_mtx, lck_hsl);
}
......
......@@ -35,7 +35,6 @@ LOCK(busyobj)
LOCK(cli)
LOCK(exp)
LOCK(hcb)
LOCK(hsl)
LOCK(lru)
LOCK(mempool)
LOCK(objhdr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment