summaryrefslogtreecommitdiff
path: root/thread.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove all the 5005threads specific mutex macros, which are now vestigial.Nicholas Clark2009-05-211-40/+0
|
* Need even more stack for VMS_IA64-ithread.Craig A. Berry2009-01-171-1/+5
|
* Add MUTABLE_AV(), and remove (AV *) casts from headers.Nicholas Clark2008-10-271-1/+1
| | | p4raw-id: //depot/perl@34608
* Add editor blocks to some header files.Marcus Holland-Moritz2008-01-011-0/+10
| | | p4raw-id: //depot/perl@32793
* Removed unused var in a macroAndy Lester2006-04-161-2/+1
| | | | | Message-ID: <20060416043253.GA3438@petdance.com> p4raw-id: //depot/perl@27834
* [patch@27529] thread.h - VMS needs more stackJohn E. Malmberg2006-03-211-0/+5
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <441ADE4D.2090207@qsl.net> p4raw-id: //depot/perl@27563
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+1
| | | | | did not update) p4raw-id: //depot/perl@26732
* More copyright updatesRafael Garcia-Suarez2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26652
* Get rid of hardcoded string length.Gisle Aas2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26647
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+2
| | | p4raw-id: //depot/perl@24106
* Avoid segfault when pthread_key_create failsGisle Aas2005-01-051-2/+1
| | | | | Message-ID: <lracroz1gg.fsf@caliper.activestate.com> p4raw-id: //depot/perl@23749
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* Make panics a bit more verbose to ease debugging.Marcus Holland-Moritz2004-02-291-32/+64
| | | p4raw-id: //depot/perl@22417
* Redundancy removal from Brian De Pradine;Jarkko Hietaniemi2003-06-131-1/+0
| | | | | | both the forms, pthread_mutexattr_settype() and pthread_mutexattr_setkind_np(), exist on z/OS. p4raw-id: //depot/perl@19767
* z/OS: More threaded build tweaks from Brian De Pradine--Jarkko Hietaniemi2003-05-011-5/+7
| | | | | apparently now it works! p4raw-id: //depot/perl@19368
* z/OS: changes for building threaded from "Brian De Pradine"Jarkko Hietaniemi2003-04-221-1/+5
| | | | | <PRADINE@uk.ibm.com>. p4raw-id: //depot/perl@19306
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+1
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Reverse copyright update (#18801) for files not changed in 2003.Hugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18807
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* $0 mofifying part IJarkko Hietaniemi2002-12-021-0/+11
| | | | | | Subject: [PATCH] $0 modifying Message-ID: <20021130181651.GA5876@kosh.hut.fi> p4raw-id: //depot/perl@18229
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-57/+2
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Tru64 and gcc and threadsH.Merijn Brand2002-10-091-1/+1
| | | | | Sat, 5 Oct 2002; Jarkko Hietaniemi <jhi@iki.fi> p4raw-id: //depot/perl@17983
* DG/UX updates from Takis Psarogiannakopoulos.Jarkko Hietaniemi2002-03-111-1/+1
| | | p4raw-id: //depot/perl@15151
* Sprinkle some copyrights (use the oldest timestamp toJarkko Hietaniemi2002-01-241-0/+9
| | | | | | be found in the repository, which is most often not right, but at least consistent) p4raw-id: //depot/perl@14400
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-4/+4
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Make perl fork()-safe (in a slightly limited way) even onGurusamy Sarathy2001-07-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | platforms that don't have pthread_atfork() (extension of the fix in change#11151). Note that this will not help extensions that call fork() directly in C, or that link to libraries that call fork() directly. Such cases must be fixed to either call PerlProc_fork(), or call atfork_lock() in parent before the calling the function that forks and call atfork_unlock() in both parent and child immediately after the fork(). (There are no worries if C code calls exec() in the child immediately after a fork(). Only cases where the child calls perl's API functions (including New()) after the fork() are problematic.) This change also eliminates the use of vfork() from perl, since all such uses were violating the severe restrictions on modifying the state of the process between the vfork() and the exec(). This is a modified version of patches suggested by Abhijit Menon-Sen and Richard Soderberg. p4raw-link: @11151 on //depot/perl: 50dd6e574ff39b609595ddb16b2fe9f625a26f8c p4raw-id: //depot/perl@11423
* fix PTHREAD_ATFORK croaking too early, too oftenCoral2001-07-171-11/+2
| | | | | Message-Id: <200107162125.f6GLPJ345261@moonlight.crystalflame.net> p4raw-id: //depot/perl@11392
* Make PTHREAD_ATFORK() to croak if HAS_FORK, noop otherwise.Jarkko Hietaniemi2001-07-121-2/+8
| | | p4raw-id: //depot/perl@11337
* pthread_atfork on FreeBSD - Part 1: #ifdef HAS_PTHREAD_ATFORK coral2001-07-121-2/+6
| | | | | Message-Id: <200107122316.f6CNGoq09171@moonlight.crystalflame.net> p4raw-id: //depot/perl@11336
* Re: [patch] pthread_atfork bandaidDoug MacEachern2001-07-121-0/+3
| | | | | Message-ID: <Pine.LNX.4.21.0107112342330.28844-100000@mako.covalent.net> p4raw-id: //depot/perl@11297
* Retract #11289.Jarkko Hietaniemi2001-07-121-4/+1
| | | p4raw-id: //depot/perl@11293
* (Retracted by #11289.)Jarkko Hietaniemi2001-07-121-1/+4
| | | p4raw-id: //depot/perl@11289
* perl built with USE_ITHREADS can deadlock during fork() or backticksGurusamy Sarathy2001-07-051-0/+9
| | | | | | | | | | | | | since it doesn't ensure threads other than the one calling fork() aren't holding any locks; the fix is to use pthread_atfork() to hold global locks building perl with -Dusemymalloc exacerbates the problem since Perl_malloc() holds a mutex, and perl's exec() calls New() XXX the code in win32thread.h may be needed on platforms that have no pthread_atfork() p4raw-id: //depot/perl@11151
* NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.Jarkko Hietaniemi2001-06-161-0/+4
| | | p4raw-id: //depot/perl@10643
* Thinko noticed by Doug MacEachern.Jarkko Hietaniemi2001-05-171-1/+1
| | | p4raw-id: //depot/perl@10147
* Macrofy the getspecific (and use it also in util.c)Jarkko Hietaniemi2001-05-171-6/+13
| | | p4raw-id: //depot/perl@10143
* Use the unchecked thread-specific key fetch also in Tru64.Jarkko Hietaniemi2001-05-171-2/+4
| | | p4raw-id: //depot/perl@10142
* Quick thread speedupDan Sugalski2001-05-171-1/+6
| | | | | Message-Id: <5.1.0.14.0.20010516175826.01afde08@24.8.96.48> p4raw-id: //depot/perl@10141
* Move the stack desire definition to thread.h.Jarkko Hietaniemi2001-05-161-0/+4
| | | p4raw-id: //depot/perl@10122
* Multiplicity and thread fixes for VMSDan Sugalski2001-05-021-0/+4
| | | | | Message-Id: <5.0.2.1.0.20010502112909.01f24e28@24.8.96.48> p4raw-id: //depot/perl@9960
* Integrate change #8695 from maintperl.Jarkko Hietaniemi2001-02-091-0/+1
| | | | | | | | | thread.h tweak to enable 5005threads on HP-UX 10.20 with DCE threads p4raw-link: @8695 on //depot/maint-5.6/perl: c11cbe4f3d933e2347888f343724a545c9cdea8d p4raw-id: //depot/perl@8743 p4raw-integrated: from //depot/maint-5.6/perl@8742 'copy in' thread.h (@8609..)
* Integrate changes #8608,8609,8610,8611,8612,8613 from maintperl.Jarkko Hietaniemi2001-01-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | perl's internal variables are not for public consumption, move their docs from perlapi.pod to perlintern.pod support for -Dusethreads build under HP-UX 10.20 and DCE threads library (11.0 and later have pthreads but 10.x don't) avoid uninitialized value warnings canonicalize paths when doing chdir() on windows (or Cwd::getcwd() gets weird results) perldoc nit on windows make it possible to run the tests outside the source tree (there's still a dependency on ../lib being the library location) p4raw-link: @8612 on //depot/maint-5.6/perl: 21b80573951053245624647c6ea0077acae22b99 p4raw-link: @8611 on //depot/maint-5.6/perl: 706e8e4d2d0a6985197cb1cb76dc3d2575cd159e p4raw-link: @8610 on //depot/maint-5.6/perl: fc1aae957f18d75529c72450055ab0d424b7d318 p4raw-link: @8609 on //depot/maint-5.6/perl: 13b98125bf15a4dfacaa2c6f56d3742c97180500 p4raw-link: @8608 on //depot/maint-5.6/perl: f893c726cdaa1ccdec167db9b2ff5c2fdc19e29b p4raw-id: //depot/perl@8614 p4raw-integrated: from //depot/maint-5.6/perl@8596 'copy in' t/lib/dprof/V.pm t/op/flip.t utils/perldoc.PL (@8159..) win32/bin/search.pl (@8166..) t/io/tell.t (@8175..) hints/hpux.sh (@8601..) thread.h (@8606..) 'ignore' pod/perlintern.pod (@7766..) pod/perlapi.pod (@8605..) 'merge in' intrpvar.h t/base/term.t (@7895..) win32/vdir.h (@8156..) thrdvar.h (@8602..) perlapi.c (@8606..)
* free TLS slot properly on WindowsGurusamy Sarathy2000-08-211-0/+8
| | | p4raw-id: //depot/perl@6748
* Getting perlio and threads to compileLupe Christoph2000-08-111-1/+1
| | | | | | | Message-ID: <20000809113554.G23160@alanya.lupe-christoph.de> (the Solaris version changes in Configure skipped) p4raw-id: //depot/perl@6594
* rename totally bletcherous SvLOCK() thingy (doesn't do what theGurusamy Sarathy2000-07-141-0/+10
| | | | | name suggests anyway) p4raw-id: //depot/perl@6398
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* avoid using context pointer in MUTEX_INIT() et al; remove theGurusamy Sarathy2000-03-111-37/+15
| | | | | *_NOCONTEXT variants to keep it simple p4raw-id: //depot/perl@5651
* various shenanigans in change#5342Gurusamy Sarathy2000-02-291-2/+4
| | | | | p4raw-link: @5342 on //depot/perl: ba869debd80c55cfae8e9d4de0991d62f9efcb9b p4raw-id: //depot/perl@5343
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-122/+133
| | | p4raw-id: //depot/perl@5342
* usethreads build fixups for NeXTstep (as suggested by Hans Mulder)Gurusamy Sarathy2000-01-021-1/+3
| | | p4raw-id: //depot/perl@4746