#
1674a53a |
|
30-Mar-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added recursive_lock_transfer_lock() to the fs_shell.
|
#
37de5a0d |
|
30-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* The rw_lock now behaves just like a recursive locker if KDEBUG_RW_LOCK_DEBUG is defined to 1; this allows asserting the read lock case, too. * Added ASSERT_{READ|WRITE}_LOCKED_RW_LOCK() macros. The read assertion is only working when KDEBUG_RW_LOCK_DEBUG is defined to 1, the write assertion works always. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78b32dd0 |
|
08-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* The rw_lock is now able to nest read/write locks when you have a write lock. It follows the semantics of the BFS R/W lock, though, that is, if you unlock your write lock before the read locks, the read locks effectively become write locks, too. * Added a mutex_transfer_lock() function that will allow you to unlock a mutex in a different thread than the one which locked it (only matters if KDEBUG is enabled, though). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26316 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
06d5e1b3 |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added ReadLocker/WriteLocker classes to auto lock an rw_lock. * Added *_init_etc() functions to the fs_shell. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26302 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af370c70 |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a recursive_lock_trylock() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
589f1a91 |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Made the private kernel locking primitives available to file systems as well. * Applied Korli's mutex_unlock() fix to block_cache.cpp. * Removed block_cache_priv.h, as it's no longer needed (moved its definitions into block_cache.cpp, as in the kernel file). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26296 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1674a53a45f12befa208e7478337d811d1fed6fd |
|
30-Mar-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Added recursive_lock_transfer_lock() to the fs_shell.
|
#
37de5a0d83bb1e9f862cc99af935fcfb246b8605 |
|
30-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* The rw_lock now behaves just like a recursive locker if KDEBUG_RW_LOCK_DEBUG is defined to 1; this allows asserting the read lock case, too. * Added ASSERT_{READ|WRITE}_LOCKED_RW_LOCK() macros. The read assertion is only working when KDEBUG_RW_LOCK_DEBUG is defined to 1, the write assertion works always. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
78b32dd026c23138d8102e48885f829e1acb5153 |
|
08-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* The rw_lock is now able to nest read/write locks when you have a write lock. It follows the semantics of the BFS R/W lock, though, that is, if you unlock your write lock before the read locks, the read locks effectively become write locks, too. * Added a mutex_transfer_lock() function that will allow you to unlock a mutex in a different thread than the one which locked it (only matters if KDEBUG is enabled, though). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26316 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
06d5e1b3b65bfdfad8cf2642956e63c38fc79542 |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added ReadLocker/WriteLocker classes to auto lock an rw_lock. * Added *_init_etc() functions to the fs_shell. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26302 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af370c702a1374fd8997cedd5f2ce5d5f153dcb3 |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a recursive_lock_trylock() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
589f1a9133081a871738156ebc2c95e757581aac |
|
07-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Made the private kernel locking primitives available to file systems as well. * Applied Korli's mutex_unlock() fix to block_cache.cpp. * Removed block_cache_priv.h, as it's no longer needed (moved its definitions into block_cache.cpp, as in the kernel file). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26296 a95241bf-73f2-0310-859d-f6bbb57e9c96
|