* Added a TRANSACTION_IDLE notification that is sent when the transaction

hasn't been used for more than 2 seconds.
* Replaced the block_cache::lock benaphore with a recursive lock, so that
  you can call cache functions from within the notification listeners.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24737 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-04-02 09:37:22 +00:00
parent de73100825
commit 16d8ff2dad
5 changed files with 76 additions and 53 deletions
@@ -790,6 +790,7 @@
#define TRANSACTION_WRITTEN FSSH_TRANSACTION_WRITTEN
#define TRANSACTION_ABORTED FSSH_TRANSACTION_ABORTED
#define TRANSACTION_ENDED FSSH_TRANSACTION_ENDED
#define TRANSACTION_IDLE FSSH_TRANSACTION_IDLE
#define transaction_notification_hook fssh_transaction_notification_hook