Searched hist:27074 (Results 1 - 1 of 1) sorted by relevance

/haiku/src/system/kernel/cache/
H A Dblock_cache.cppdiff 4bfeb6f3 Wed Aug 20 02:09:18 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Changed the way how a cache is destructed: now, it is removed from the
global cache list before locking it. This allows to get rid of the
block_cache::deleting field, as well as simplifies some code.
* This also fixes a possible deadlock I recently introduced (on destruction,
the locking order was wrong).
* Now uses an anonymous condition variable instead.
* Moved the block_cache initialization code into a dedicated method that will
now also fail in case the low resource handler couldn't be registered (as
pointed out by Salvatore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27074 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 4bfeb6f37ab1a47a540efa4227686ed45985639b Wed Aug 20 02:09:18 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Changed the way how a cache is destructed: now, it is removed from the
global cache list before locking it. This allows to get rid of the
block_cache::deleting field, as well as simplifies some code.
* This also fixes a possible deadlock I recently introduced (on destruction,
the locking order was wrong).
* Now uses an anonymous condition variable instead.
* Moved the block_cache initialization code into a dedicated method that will
now also fail in case the low resource handler couldn't be registered (as
pointed out by Salvatore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27074 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 57 milliseconds