<div dir="ltr"><div><div><div>So I updated packOSC in svn to detect reentrancy and post a message.<br></div>It seems too complicated to allow it.<br></div>Here's a patch that does what I believe you want using the preferred method of bundles.<br><br></div>Martin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 4:53 AM, Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2015-11-05 at 16:23 -0500, Martin Peach wrote:<br>
> As I see it, the only way that [packOSC] can receive a message before<br>
> it has completed the previous message is if its own output triggers<br>
> another message to its input. It may be possible to detect that<br>
> special case and either let it happen or not, but it's tricky because<br>
> the buffer for the list is deallocated as soon as the list is output,<br>
> and the new message arrives while that is taking place. Possibly using<br>
> a fixed buffer would work better, and also speed up the code. The<br>
> function then might just exit before it is called again, avoiding the<br>
> error.<br>
<br>
</span>If you're trying a fix, I'm happy to test it (Sorry for not being<br>
helpful, my C skills... )<br>
<span class="HOEnZb"><font color="#888888"><br>
Roman<br>
<br>
</font></span><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>
<br></blockquote></div><br></div>