summaryrefslogtreecommitdiff
path: root/thrdvar.h
Commit message (Collapse)AuthorAgeFilesLines
* various fixes for race conditions under threads: mutex locks basedGurusamy Sarathy1998-11-291-0/+2
| | | | | | | | | | | on PL_threadnum were seriously flawed, since it means more than one thread could enter the critical region; PL_na was global instead of thread-local; child thread could finish and free thr structures before Thread->new() got around to creating the Thread object; cv_clone() needed locking, as it mucks with PL_comppad and other global data; new_struct_thread() needed to lock template-thread's mutex while copying its data p4raw-id: //depot/perl@2385
* backout change#2334Gurusamy Sarathy1998-11-291-1/+1
| | | | | p4raw-link: @2334 on //depot/perl: 60ad88b8fe9480f2f097fca26f4f3a9f83a4f830 p4raw-id: //depot/perl@2383
* Finishing off SNOBOL: $1 in (?{})Ilya Zakharevich1998-11-281-0/+2
| | | | | Message-Id: <199811280533.AAA25654@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2372
* better -Mre=debugcolorIlya Zakharevich1998-11-281-0/+1
| | | | | Message-Id: <199811272116.QAA03502@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2371
* applied suggested patch with PERL_OBJECT tweaksIlya Zakharevich1998-11-281-0/+2
| | | | | | Message-Id: <199811260746.CAA23164@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_53] Enable $_ and pos() inside (?{ CODE }) in RExen p4raw-id: //depot/perl@2367
* Fix \G in REx without //gIlya Zakharevich1998-11-281-0/+2
| | | | | Message-Id: <199811260433.XAA29281@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2365
* s/Regexp/re/ and clarify policy on lowercased object namespacesGurusamy Sarathy1998-11-281-1/+1
| | | p4raw-id: //depot/perl@2334
* add ext/Devel/PeekJan Dubois1998-11-271-0/+1
| | | | | | Message-ID: <36589ec9.49964585@smtp1.ibm.net> Subject: [PATCH 5.005_53] Devel::Peek integration p4raw-id: //depot/perl@2322
* ensure PL_dirty is reinit-ed properly under -DMULTIPLICITYGurusamy Sarathy1998-11-171-1/+1
| | | p4raw-id: //depot/perl@2244
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-1/+4
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* re-introduce change#1703Gurusamy Sarathy1998-09-231-1/+1
| | | | | p4raw-link: @1703 on //depot/maint-5.005/perl: af819cba4f44bf2074ec4808e403dedf8c3ce2b2 p4raw-id: //depot/perl@1825
* patch to support computed regular subexpressionsIlya Zakharevich1998-09-231-0/+2
| | | | | | Message-Id: <199808201919.PAA04692@monk.mps.ohio-state.edu> Subject: [5.005_5* PATCH] Postponed RE - now! p4raw-id: //depot/perl@1813
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-1/+1
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* make RE engine threadsafe; -Dusethreads builds, tests on Solaris,Gurusamy Sarathy1998-07-121-2/+65
| | | | | | and runs regexes in 1000s of threads without crashing; also fixed statcache not being thread-local p4raw-id: //depot/perl@1448
* partial MULTIPLICITY cleanupGurusamy Sarathy1998-06-231-71/+83
| | | p4raw-id: //depot/perl@1205
* [PATCH 5.004_64] Test.pm updateJoshua Pritikin1998-05-141-1/+11
| | | | | | | Date: Sat, 4 Apr 1998 08:33:50 -0500 Subject: [PATCH 5.004_64] modcount + comments Date: Fri, 17 Apr 1998 16:07:35 -0400 p4raw-id: //depot/perl@943
* [win32] implement stack-of-stacks so that magic invocations don'tGurusamy Sarathy1998-04-031-4/+1
| | | | | invalidate local stack pointer p4raw-id: //depot/win32/perl@864
* [win32] merge C<local $tied{foo}> patch, also moved statics inGurusamy Sarathy1998-03-091-0/+5
| | | | | [ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
* Introduced thr->threadsvp and THREADSV() for faster per-threadMalcolm Beattie1998-02-021-0/+1
| | | | | | | variables. Moved threadnum to a per-interpreter variable and made dTHR and lock/unlock of sv_mutex bypass the get/lock unless more than one thread may be running. Minor tweaks to Thread.xs. p4raw-id: //depot/perl@453
* Lots of VMS changes. vms/gen_shrfls.pl (which parses header files)Charles Bailey1997-12-171-2/+2
| | | | | | needs rewriting now that we use perlvars.h and foovar.h: Subject: [PATCH] 5.004_54 under VMS (fwd) p4raw-id: //depot/perl@374
* embed.pl now reads *var*.h to do its stuff.Nick Ing-Simmons1997-11-301-28/+31
| | | | | | | | | | | | Split generated embed.h into two - new embedvar.h is #included when 'op' etc. will not mess up proto.h etc. Removed #define foo (thr->Tfoo) from thread.h Added some 'missing' symbols to global.sym, removed those in the *var*.h files Has build all MULTIPLICITY/USE_THREADS options on win32 with VC++ (and passed tests), but not with exactly this set of files. p4raw-id: //depot/ansiperl@338
* Globals and structs via macros - part 1 of NNick Ing-Simmons1997-11-291-0/+101
- introduce perlvars.h intrpvar.h and thrdvar.h - change perl.h and thread.h to include them with appropriate macros defined - result is status-quo but with macros - next step is to tweak embed.* to capitalize on new easy-to-find info. p4raw-id: //depot/ansiperl@337