Ticket #805 (new enhancement)

Opened 2 years ago

Last modified 5 months ago

Fast read/write locker

Reported by: axeld Owned by:
Priority: low Milestone: R1
Component: Network & Internet/Stack Version:
Cc: Blocked By:
Platform: All Blocking:

Description

The locking mechanism is currently too strict, and prevents concurrency where there is no need to. We need a multiple reader/single writer locking mechanism that is based on the benaphore mechanism. A read lock should be upgradeable to a write lock.

Change History

Changed 13 months ago by axeld

  • platform set to All
  • milestone changed from R1 Network Stack to R1

Changed 5 months ago by axeld

  • priority changed from normal to low
  • component changed from System/Kernel to Network & Internet/Stack

Changed 5 months ago by bonefish

What properties should the upgrade to write lock function have? I suppose you've something different in mind than read unlock + write lock.

Changed 5 months ago by axeld

I have no idea anymore :-) I guess we should put this ticket aside until we have real concurrency speed problems to solve.

Note: See TracTickets for help on using tickets.