-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
So what's the point of the nextToAccessMutex?
Why can't we just do a lowPriorityMutex, highPriorityWaitGroup, dataAccessMutex with the locking patterns being:
- High Priority Lock:
highPriorityWaitGroup.Add(1),dataAccessMutex.Lock() - High Priority Unlock:
highPriorityWaitGroup.Done(),dataAccessMutex.Unlock()
- Low Priority Lock:
highPriorityWaitGroup.Done(),dataAccessMutex.Lock() - Low Priority Unlock:
dataAccessMutex.Unlock()
Metadata
Metadata
Assignees
Labels
No labels