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
Porting SimPy resources (#51 and #50) made it pretty obvious that uSim's Resources type is a bit awkward when there really is just one type of resources.
Other ways to emulate a Semaphore are Tracked and Queue, which come with other unwanted baggage. IMO the Resources interface is good, but we may want a "just one type" version:
Porting SimPy resources (#51 and #50) made it pretty obvious that uSim's
Resources
type is a bit awkward when there really is just one type of resources.Other ways to emulate a Semaphore are
Tracked
andQueue
, which come with other unwanted baggage. IMO theResources
interface is good, but we may want a "just one type" version:The use-case of a raw Semaphore would be easily handled by having proper defaults:
The text was updated successfully, but these errors were encountered: