-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
All spaces classes we provide have unbounded capacity. I propose we consider a parameter to optionally make them of bounded capacity.
Bounded spaces have several applications (e.g. devices with limited resources, too fast producers that need to be contained...) and can make things easier (even decidable) for verification (e.g. Spin/Promela channels are bounded channels).
In a bounded space, the put operation blocks if the space is full.
@michele-loreti @sequenze @luhac objections?
PS. For capacity 1 all spaces would have the same behaviour.
PS2. One could even consider capacity 0 implement synchronous rendezvous: queries always fail, put and get synchronise. But, for now, capacity > 0 is all I propose.