<div dir="ltr"><span style="font-size:12.8000001907349px">>when 2 different [send A]'s go to the same [receive A] will there be used a "first-in first-out" procedure?</span><br style="font-size:12.8000001907349px"><br>yes, always.  <br><br>(unless you deliberately use something such as a [pipe] or [delay] object in between, of course)<br><br><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">>[send]/[receive]'s inside a subpatch are they handled before [send]/[receive]'s which 'cross the border' of the subpatch?</span><br><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">no.  the subpatch will not have any impact on the order of execution. <br><br><br><br>In general, it is bad practice to use a single send going to multiple receives - the order in which they are received should be considered undefined.  You should avoid doing that if at all possible.  </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">But in some cases, it is useful, such as sending the global BPM to different parts of your patch. In that case, you just have to be very careful that the patch doesn't depend on the order in which the different receives are triggered. </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 6:07 AM, Peter P. <span dir="ltr"><<a href="mailto:peterparker@fastmail.com" target="_blank">peterparker@fastmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* <a href="mailto:rolfm@dds.nl">rolfm@dds.nl</a> <<a href="mailto:rolfm@dds.nl">rolfm@dds.nl</a>> [2015-07-13 16:40]:<br>
<span class="">><br>
> hi list,<br>
><br>
> to not make a maze of a complicated patch<br>
> i use quite often send/receive objects inside the patch.<br>
><br>
> triggered by the recent thread about execution order and depth-first,<br>
> i'm starting to doubt the above mentioned habit.<br>
><br>
> in an much older thread it is said that:<br>
>  apart from the "right to left" rule for outlets (and inlets?)<br>
> and the "depth first" rule,<br>
> execution order in Pd is not defined.<br>
><br>
> does it mean that there's nothing to say/know about send/receive's?<br>
</span><a href="http://puredata.info/docs/tutorials/PdForMaxUsers#always-use-the-trigger-object" rel="noreferrer" target="_blank">http://puredata.info/docs/tutorials/PdForMaxUsers#always-use-the-trigger-object</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>