[PD] [packOSC] reentrancy problem

Roman Haefeli reduzent at gmail.com
Fri Nov 6 10:53:02 CET 2015


On Thu, 2015-11-05 at 16:23 -0500, Martin Peach wrote:
> As I see it, the only way that [packOSC] can receive a message before
> it has completed the previous message is if its own output triggers
> another message to its input. It may be possible to detect that
> special case and either let it happen or not, but it's tricky because
> the buffer for the list is deallocated as soon as the list is output,
> and the new message arrives while that is taking place. Possibly using
> a fixed buffer would work better, and also speed up the code. The
> function then might just exit before it is called again, avoiding the
> error.

If you're trying a fix, I'm happy to test it (Sorry for not being
helpful, my C skills... )

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151106/49049e93/attachment.sig>


More information about the Pd-list mailing list