-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I think the type 1 lock is only task fair, not phase fair. You see this in the ReadLock1() function where a reader thread waits for all previous (to itself) writers to complete. I.e. a reader thread cannot join an intermediate read phase.
Line 167 in 588b627
| while (*lock->completions->writer != *prev->writer) |
Metadata
Metadata
Assignees
Labels
No labels