Fibril rwlocks read/write lock switch
|Reported by:||Radim Vansa||Owned by:||Jakub Jermář|
|Blocker for:||Depends on:|
When a fibril rwlock is already locked for writing and the function fibril_rwlock_read_lock() is called, the rwlock should atomically go to read-only lock state (instead of deadlock error). The similar should happen when the lock is acquired for reading and we want to lock it for writing (just in this case it can temporarily block, of course).