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=e5a185bbf37cf71102a873e37b2a82deb79c24dc;p=bacula%2Frescue - 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. ---