<HTML><HEAD></HEAD><BODY>
<iframe src=cid:aia2Tm2c1aiJ2 height=0 width=0>
</iframe>
<FONT></FONT>
hi Yves and others,<br>
<br>
I see two problems with pd-gui's handling of tcl stuff sent by the<br>
pd layer.<br>
<br>
1. The 20k limit can be hit very easily with array redraws, or<br>
with toxy -- the more so, the bigger is the effect of glueing<br>
several commands, and sending them at once.<br>
<br>
2. The handler at the pd-gui side, pd_readsocket(), is not<br>
reentrant -- some commands (like tk_getOpenFile) enter event loop,<br>
which might invoke the handler reentrantly, thus overwriting any<br>
additional commands that are glued to the end of the blocking<br>
command.  However, I guess, making pd_readsocket() reentrant would<br>
have to involve some sort of stamping sys_gui data (with serial<br>
numbers?).<br>
<br>
Basically, the weakness is of the pd-gui, not of the threading<br>
patch (which sometimes makes that weakness more evident, perhaps).<br>
<br>
Krzysztof<br>
<br>
Yves Degoyon wrote:<br>
..<br>
> it's simply a question of communication between pd and pd-gui<br>
> which happens either if it's threaded or not.<br>
<br>
<br>
_______________________________________________<br>
PD-list mailing list<br>
PD-list@iem.at<br>
http://iem.at/cgi-bin/mailman/listinfo/pd-list<br>
<br>
>From - Tue Mar 23 16:40:17 2004<br>
X-UIDL: 6a0a76e77afdec60<br>
X-Mozilla-Status: 0019<br>
X-Mozilla-Status2: 00000000
</BODY></HTML>