Opened 16 years ago

Closed 15 years ago

Last modified 15 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 by Martin Decky, 16 years ago

Milestone: 0.5.0

comment:2 by Jiri Svoboda, 15 years ago

Component: uspace/libc

comment:3 by Jakub Jermář, 15 years ago

Resolution: fixed
Status: newclosed

Revision 4526 adds fibril rwlocks.

comment:4 by Jakub Jermář, 15 years ago

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