<div dir="ltr">2013/3/19 IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span><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">

-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 2013-03-19 16:06, Antoine Villeret wrote:<br>
&gt; this is in my github repos in the branch pix_share_write :<br>
&gt; <a href="https://github.com/avilleret/Gem/tree/pix_share_write" target="_blank">https://github.com/avilleret/Gem/tree/pix_share_write</a><br>
<br>
</div>hehe, i have incorporated your changes about 7 hours ago :-)<br></blockquote><div><br></div><div style>thanks for that </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div class="im"><br>
&gt;<br>
&gt; I don&#39;t know if it&#39;s a good idea but it seems to work for me<br>
<br>
</div>generally, i find it always pleasing, if an error is not (only)<br>
printed to the pd-console but you get some message back into the<br>
patch, so you can react on the error programmatically.<br>
<div class="im"><br>
&gt; I&#39;m wondering if it could be good to have a dictionary instead of a<br>
&gt; hash table : when we use [set id sizex sizey pixel_format( message,<br>
&gt; pix_share* could try to find the id in the dictionary if there is<br>
&gt; no entry with that id, it generates a random shmem id, verify that<br>
&gt; nobody else is using it and tries to allocated data if it fails it<br>
&gt; could generates another id until it succeed and store the id in the<br>
&gt; dictionary<br>
&gt;<br>
&gt; pix_share_read will know the dictionary and can find the right<br>
&gt; shmem id<br>
<br>
</div>how is that supposed to work in two separate instances of Pd?<br></blockquote><div><br></div><div style>obviously, i forgot that whereas I&#39;m sending id though OSC to other instance...</div><div style>and I see no other ways than sending the id on localhost...</div>

<div style><br></div><div style>sorry for this stupid mistake</div><div style><br></div><div style>cheers</div><div style><br></div><div style>a </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
fgamsdr<br>
IOhannes<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAlFIiw8ACgkQkX2Xpv6ydvQxGgCePjlJJTseMuPVMhuYQGWkavgv<br>
u10AoMhpJaE6OsdPQk7HbhmMM0W75aTo<br>
=5+nU<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
</blockquote></div><br></div></div>