Previous: Cannot use blocking in an interface, Up: Well-formedness -- Nesting [Contents][Index]
blocking
with multiple provides
portsA component with more than one provides port is not allowed to block events, due to implementation restrictions. So:
interface ihello { in void hello (); behavior { on hello:; } } component blocking_multiple_provides { provides ihello left; provides ihello right; behavior { blocking on left.hello (): left.reply (); } }
This results in the following error message:
blocking-multiple-provides.dzn:16:5: error: cannot use blocking with multiple provide ports