summaryrefslogtreecommitdiff
path: root/thrdvar.h
Commit message (Collapse)AuthorAgeFilesLines
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+12
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* remove kludgey duplicate background error avoidance (causedGurusamy Sarathy1999-10-081-1/+0
| | | | | | "leaks"; %@ wasn't even user-visible under -Dusethreads); only repeats of most recent error are now avoided p4raw-id: //depot/perl@4316
* queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-0/+1
| | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
* make sprintf("%g",...) threadsafe; only taint its result iff theGurusamy Sarathy1999-09-121-0/+4
| | | | | formatted result looks nonstandard p4raw-id: //depot/perl@4130
* More optimizations to REx engineIlya Zakharevich1999-08-011-0/+5
| | | | | Message-Id: <199907311407.IAA25038@localhost.frii.com> p4raw-id: //depot/perl@3857
* avoid #ifdef DEBUGGING in thrdvar.h (from Dominic Dunlop <domo@vo.lu>)Gurusamy Sarathy1999-07-171-2/+0
| | | p4raw-id: //depot/perl@3684
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-6/+6
| | | p4raw-id: //depot/perl@3669
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-0/+4
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-1/+1
| | | p4raw-id: //depot/perl@3660
* applied slightly tweaked version of suggested patch forIlya Zakharevich1999-07-061-2/+9
| | | | | | | improved RE API Message-Id: <199906092214.SAA14126@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] REx engine rehash p4raw-id: //depot/perl@3606
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-3/+3
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* REx engine improvementsIlya Zakharevich1999-05-251-2/+4
| | | | | Message-Id: <199905250642.CAA06208@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3475
* gutsupport for C++ exceptionsChip Salzenberg1999-05-111-0/+2
| | | | | | Message-ID: <19990309115157.E7911@perlsupport.com> Subject: [PATCH 5.005] Flexible Exceptions p4raw-id: //depot/perl@3386
* 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