<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p></p>
<blockquote type="cite">Is it possible to just use one pthread dll for all the externals, the one that comes with Pd?</blockquote>
<br>
<br>
Yes but they need recompiling (and re-upload to deken).<br>
<br>
I'm a "windows native" so i'm just having breakfast on compiling. :)<br>
<br>
From the few things that I know is up to the compiler to handle its implementation of pthread.h
<br>
<br>
Also [externals] can be compiled with VC, Msys1, Msys2, Cygwin ...<br>
<br>
So the uploder has to ship the needed pthread.dll<br>
<br>
Because the uploader might forget to do so, I'm paranoid.<br>
<br>
My paranoia was already explained.<br>
<br>
So to avoid this to happen is why i think is better to statically link pthread. This gives the [external] it own way to not depend on Pd's pthread. (actually this is happening to all "extended" era [externals] that were linked against pthreadGC-2.dll)<br>
<p></p>
<pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div class="moz-cite-prefix">On 2/7/2018 3:13 PM, Martin Peach wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAN5xZ3aUvYxcLNFfSCy=B_F+yW-MHLO2KH1grPsohOq0Gw+otA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 7, 2018 at 11:50 AM, Lucas Cordiviola <span dir="ltr">
<<a href="mailto:lucarda27@hotmail.com" target="_blank" moz-do-not-send="true">lucarda27@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>There were many problems back in 2016 with people that didn't have pd-extended installed. For them when downloading from deken many objects didn't work. One of the causes was that those "extended" .dlls where using pthread-GC-2.dll. This file was installed
 by pd-extended installer on windows system folders. <br>
<br>
Attached is a list of missing dlls on 2016.<br>
<br>
Now we have included those dlls in each pkg so [externals] work without having pd-extended installed.<br>
<br>
The actual libwinpthread-1.dll could change in future MinGWs so externals compiled today may stop working.<br>
</p>
</div>
</blockquote>
<div>Is it possible to just use one pthread dll for all the externals, the one that comes with Pd? They should all have the same functions in them, so it would just be a matter of changing the linker LIBS.<br>
In externals/Makefile pthreadGC2 occurs just once at the beginning, this is the one used in mrpeach.<br>
</div>
<div>I attach a list of all the lpthreads mentioned in all the files in the externals directory (at
<a href="https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/" moz-do-not-send="true">
https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/</a>).<br>
Most of them are pthread for linux or MacOS (except iem/iemnet/Makefile:41:LIBS_windows=-lpthread), 18 are pthreadGC and four are pthreadVC. It's possible some of the pthreads are for Windows as well.<br>
</div>
<div><br>
</div>
<div>Martin<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
Pd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a>
<a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-dev">https://lists.puredata.info/listinfo/pd-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>