From: Kern Sibbald Date: Thu, 26 May 2005 18:58:17 +0000 (+0000) Subject: - Make JCR a class and implement inc_use_count() and X-Git-Tag: Release-1.38.0~411 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff43b33e302b4a2f7a0ee60158819fb6ba25bdc8;p=bacula%2Fdocs - Make JCR a class and implement inc_use_count() and dec_use_count() methods that ensure that the jcr is locked when inc/dec the use count. - Remove the global jcr lock when traversing the jcr chain. - Use dlist to implement the jcr chain rather than hand crafted next and prev links. - Lock the jcr chain inside each function that modifies the chain. ---