From f6f4626191a7012fee2bdbbeef7c6331802c736b Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 14 Jan 2016 09:01:59 +1100 Subject: [PATCH] Add comment about recursive lock --- src/stratifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stratifier.c b/src/stratifier.c index 82c53b61..70c34649 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1257,6 +1257,7 @@ share_diff(char *coinbase, const uchar *enonce1bin, const workbase_t *wb, const return diff_from_target(hash); } +/* Note recursive lock here - entered with workbase lock held, grabs instance lock */ static void send_node_block(sdata_t *sdata, const char *enonce1, const char *nonce, const char *nonce2, const uint32_t ntime32, const int64_t jobid, const double diff)