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

Opened 10 years ago

Closed 10 years ago

Last modified 10 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:

Description

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 10 years ago by Martin Decky

Milestone: 0.5.0

comment:2 Changed 10 years ago by Jiri Svoboda

Component: uspace/libc

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

Resolution: fixed
Status: newclosed

Revision 4526 adds fibril rwlocks.

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

Milestone: 0.5.00.4.1
Note: See TracTickets for help on using tickets.