Ticket #15 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Implement rwlocks for uspace

Reported by: jermar 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

comment:1 Changed 3 years ago by decky

  • Milestone set to 0.5.0

comment:2 Changed 3 years ago by svoboda

  • Component set to uspace/libc

comment:3 Changed 3 years ago by jermar

  • Status changed from new to closed
  • Resolution set to fixed

Revision 4526 adds fibril rwlocks.

comment:4 Changed 3 years ago by jermar

  • Milestone changed from 0.5.0 to 0.4.1
Note: See TracTickets for help on using tickets.