You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We might want to switch to a single global ParkingLot, in which case the API would shift quite a bit. (Instead of having ParkingLot objects, we'd have an argument which was an arbitrary id naming the synchronization object.)
If we implement WFQ (Design: alternative scheduling models #32) then we'd probably need to stop returning the unparked tasks from unpark. (This would slightly complicate the implementation of RLock and Condition, but I don't think it's too bad.)
We might want to add a way for tasks to mark themselves when parking, but probably this could be done in a backwards compatible way.
The text was updated successfully, but these errors were encountered:
I also wonder if we might want to remove the result= argument to unpark? I don't think anything actually uses it, and it also might complicate any scheduling experiments...
See the big comment at the top of the file.
In particular:
We might want to switch to a single global
ParkingLot
, in which case the API would shift quite a bit. (Instead of havingParkingLot
objects, we'd have an argument which was an arbitraryid
naming the synchronization object.)If we implement WFQ (Design: alternative scheduling models #32) then we'd probably need to stop returning the unparked tasks from
unpark
. (This would slightly complicate the implementation ofRLock
andCondition
, but I don't think it's too bad.)We might want to add a way for tasks to mark themselves when parking, but probably this could be done in a backwards compatible way.
The text was updated successfully, but these errors were encountered: