<div dir="ltr">On Tue, Nov 17, 2015 at 4:15 AM, Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey, thanks for addressing the issue.<br>
<span class=""><br>
On Mon, 2015-11-16 at 15:25 -0500, Martin Peach wrote:<br>
> So I updated packOSC in svn to detect reentrancy and post a message.<br>
<br>
</span>The message says:<br>
error: packOSC: Use bundle to send multiple messages<br>
<br>
I find this message a bit misleading as I'm not at all trying to create<br>
a bundle. I'm simply creating an OSC packet that in returns triggers<br>
another OSC packet to be generated. I expect [packOSC] to treat them<br>
absolutely separately.<br>
<span class=""><br></span></blockquote><div><br></div><div>What should it say then? "packOSC is being asked to process another message before it is finished with the current one"?<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> It seems too complicated to allow it.<br></span></blockquote><div>...but I'll keep thinking about it. There may be a way.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
</span>I see. It's not complicated at all on a patch level to make [packOSC]<br>
allow reentrancy. See attached patch. I can live easily without it being<br>
fixed in [packOSC].<br>
<br>
And this is the _expected_ output from my previous patch (and it<br>
actually _is_ the output of the currently attached patch with the<br>
work-around):<br>
<br>
FIRST: /i/am/reentrant 64<br>
SECOND: now<br>
<span class=""><br></span></blockquote><div><br></div><div>Here's another patch that does the same thing by using two [packOSC]s.<br><br></div><div>Martin<br></div></div><br></div></div>