Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/arc/sync_cond.txt @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 Could we schedule I/O in such a fashion as to be outside of locks involved in | |
2 a deadlock situation? | |
3 | |
4 Cache lock = sync() lock in ArcCache. | |
5 CBD lock is the individual mutex of a CBD. | |
6 | |
7 What are the conditions for achieving this? | |
8 | |
9 We must have done all cache list modifications before releasing the cache lock. | |
10 - This ensures another thread doesn't, for example, recover a CBD with one | |
11 id which, in fact, is being "renamed" to another id. | |
12 - We must also do this to protect the state of the various lists which | |
13 constitute a chunk of the cache state. Question, is the state of a CDB's | |
14 content part of the cache state? |