[PD-dev] defining PDINSTANCE and PDTHREADS in libpd

Miller Puckette msp at ucsd.edu
Wed May 3 20:29:34 CEST 2017

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.


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
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev

More information about the Pd-dev mailing list