]> git.sur5r.net Git - bacula/rescue/commitdiff
- Make JCR a class and implement inc_use_count() and
authorKern Sibbald <kern@sibbald.com>
Thu, 26 May 2005 18:58:17 +0000 (18:58 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 26 May 2005 18:58:17 +0000 (18:58 +0000)
  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.


No differences found