cvs commit: ponie/perl intrpvar.h

[email protected] (Nicholas Clark) 10 Mar 2004 22:49:43 -0000
Newsgroups perl.ponie.changes
Message-ID <[email protected]>
cvsuser     04/03/10 14:49:43

  Modified:    .        Configure.pl
               perl     intrpvar.h
  Log:
  This bit of hackery lets us benefit from all the hints files' knowledge about
  how to link with threads, but disables all perl level threading, which avoids
  problematic interactions between ithreads and parrot's thread-safety systems
  
  Revision  Changes    Path
  1.12      +2 -0      ponie/Configure.pl
  
  Index: Configure.pl
  ===================================================================
  RCS file: /cvs/public/ponie/Configure.pl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -w -r1.11 -r1.12
  --- Configure.pl	27 Feb 2004 14:23:39 -0000	1.11
  +++ Configure.pl	10 Mar 2004 22:49:43 -0000	1.12
  @@ -25,6 +25,8 @@
   push @config_args,'-de';
   push @config_args,'-Dusedevel';
   push @config_args,'-Dusethreads';
  +push @config_args,'-Uuseithreads';
  +push @config_args,'-Uuse5005threads';
   push @config_args,"-Doptimize='-g'";
   
   
  
  
  
  1.4       +2 -2      ponie/perl/intrpvar.h
  
  Index: intrpvar.h
  ===================================================================
  RCS file: /cvs/public/ponie/perl/intrpvar.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -w -r1.3 -r1.4
  --- intrpvar.h	19 Dec 2003 14:38:57 -0000	1.3
  +++ intrpvar.h	10 Mar 2004 22:49:43 -0000	1.4
  @@ -458,10 +458,10 @@
   PERLVAR(Iregex_pad,     SV**)		/* All regex objects */
   PERLVAR(Iregex_padav,   AV*)		/* All regex objects */
   
  -#ifdef USE_REENTRANT_API
  -PERLVAR(Ireentrant_buffer, REENTR*)	/* here we store the _r buffers */
   #endif
   
  +#ifdef USE_REENTRANT_API
  +PERLVAR(Ireentrant_buffer, REENTR*)	/* here we store the _r buffers */
   #endif
   
   PERLVAR(Isavebegin,     bool)	/* save BEGINs for compiler	*/