I just saw the simpler answer... thread-local only matters if
PDINSTANCE is turned on.  It's off for the PD application, but
may be turned on to get multi-instance support in libpd.  So I
fixed Pd vanilla to use __thread only when both PDTHREAD and PDINSTANCE
are set.

cheers
Miller

On Wed, May 03, 2017 at 06:33:27PM +0200, IOhannes m zmoelnig wrote:
> On 2017-05-03 16:24, Miller Puckette wrote:
> > I think I need to find a way to detect at configuration time (?) whether
> > the compiler supports per-thread storage, hmm....
> 
> https://www.gnu.org/software/autoconf-archive/ax_tls.html
> 
> mdra
> IOhannes
> 




> _______________________________________________
> Pd-dev mailing list
> [email protected]
> https://lists.puredata.info/listinfo/pd-dev


_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to