Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15 closed enhancement (fixed)

Implement rwlocks for uspace

Reported by: Jakub Jermář Owned by:
Priority: minor Milestone: 0.4.1
Component: helenos/lib/c Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


For example, there are many places in the emerging VFS layer that can benefit from the read-mostly situation and synchronization offered by readers-writer locks.

There is a non-starving implementation of rwlocks in the kernel, but it heavily interacts with the wait queue mechanism and is not suitable for uspace. A more lightweight implementation based on futexes should be created.

Change History (4)

comment:1 Changed 14 years ago by Martin Decky

Milestone: 0.5.0

comment:2 Changed 14 years ago by Jiri Svoboda

Component: uspace/libc

comment:3 Changed 14 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Revision 4526 adds fibril rwlocks.

comment:4 Changed 14 years ago by Jakub Jermář

Note: See TracTickets for help on using tickets.