From 2d56e4fa044402b0eec80cfa1fd48044c9171336 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 4 Feb 2015 11:52:48 +1100 Subject: [PATCH] Init the proxy share mutex --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index b0157821..b9d02370 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1673,6 +1673,7 @@ static int proxy_mode(ckpool_t *ckp, proc_instance_t *pi) proxi->ckp = ckp; proxi->cs = &si->cs; mutex_init(&proxi->notify_lock); + mutex_init(&proxi->share_lock); } if (ckp->btcds) {