summaryrefslogtreecommitdiff
path: root/ext/Thread
Commit message (Collapse)AuthorAgeFilesLines
* fix PL_defoutgv leak under threadsGurusamy Sarathy1998-11-261-2/+4
| | | p4raw-id: //depot/perl@2301
* properly free temporaries created by threadsGurusamy Sarathy1998-11-261-0/+2
| | | p4raw-id: //depot/perl@2300
* Replace ATTR_JOINABLE with true Configure probeJarkko Hietaniemi1998-11-021-1/+1
| | | | | | | | | | for PTHREAD_CREATE_JOINABLE (or equivalent: PTHREAD_CREATE_UNDETACHED or __UNDETACHED). Remove ATTR_JOINABLE itself: Thread.xs uses PTHREAD_CREATE_JOINABLE (or equivalent) directly. Really scan for <mach/cthreads.h> only if usethreads. p4raw-id: //depot/cfgperl@2181
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-1/+1
| | | | | | | | | | (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
* various win32 tweaks; disable new xs_cpp section (it createsGurusamy Sarathy1998-10-261-1/+1
| | | | | ambiguous inference graph for %.xs --> %.o) p4raw-id: //depot/perl@2086
* OLD_PTHREADS_API reorganizing.Jarkko Hietaniemi1998-10-201-30/+6
| | | p4raw-id: //depot/cfgperl@2028
* check in all confperl changes as of change#1964 into cfgperlGurusamy Sarathy1998-10-151-4/+17
| | | | | p4raw-link: @1964 on //depot/confperl: 2d85315bb227e0962a693eaaadc3f40ca2fbf49b p4raw-id: //depot/cfgperl@1971
* correct bugs exposed in MM_Unix.pm by commenting out SelfloaderGurusamy Sarathy1998-10-151-1/+1
| | | | | (MAN3PODS cannot be set to ' '; stray stricture violation) p4raw-id: //depot/perl@1967
* add test for previous fixGurusamy Sarathy1998-10-061-1/+10
| | | p4raw-id: //depot/perl@1935
* Thread::cond_wait bug in 5.005.51 causes deadlockDrago Goricanec1998-09-231-0/+1
| | | | | Message-Id: <199809070836.RAA14631@raptor.otsd.ts.fujitsu.co.jp> p4raw-id: //depot/perl@1839
* fixes for pod noisesGurusamy Sarathy1998-08-021-0/+4
| | | p4raw-id: //depot/maint-5.005/perl@1708
* tweaked version of suggested patchIlya Zakharevich1998-08-022-22/+22
| | | | | | Message-Id: <199807210140.VAA17186@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_75] Enable -DS p4raw-id: //depot/maint-5.005/perl@1701
* VMS patches from Dan Sugalski <sugalskd@osshe.edu>Brad Hughes1998-07-211-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Wed, 15 Jul 1998 09:38:12 -0700 Message-Id: <3.0.5.32.19980715093812.00a42a50@ous.edu> Subject: [PATCH 5.005-beta1]Quick VMS config update -- Date: Wed, 15 Jul 1998 12:53:52 -0700 Message-Id: <3.0.5.32.19980715125352.00a25cb0@ous.edu> Subject: Re: $ebcdic has broken VMS in _75 (Now with doc patch!) -- Date: Thu, 16 Jul 1998 11:15:44 -0700 Message-Id: <3.0.5.32.19980716111544.00b78770@ous.edu> Subject: [PATCH 5.004_75]Another VMS tweak for the Vax C compiler -- Date: Thu, 16 Jul 1998 11:21:55 -0700 Message-Id: <3.0.5.32.19980716112155.00a66c50@ous.edu> Subject: [PATCH 5.004_75]Get archname correct for thread build on VMS -- Date: Thu, 16 Jul 1998 11:25:04 -0700 Message-Id: <3.0.5.32.19980716112504.00ae0d50@ous.edu> Subject: [PATCH 5.004_75]Thread build tweaks for VMS 6.2 and older -- Date: Fri, 17 Jul 1998 15:29:13 -0700 Message-Id: <3.0.5.32.19980717152913.00a469b0@ous.edu> Subject: [PATCH 5.004_75]Missed a header file in VMS build procedure -- Date: Mon, 20 Jul 1998 10:20:49 -0700 Message-Id: <3.0.5.32.19980720102049.00a05100@ous.edu> Subject: [PATCH 5.004_75]Tweaks to Thread.XS for OLD_PTHREADS_API build -- Date: Mon, 20 Jul 1998 10:13:03 -0700 Message-Id: <3.0.5.32.19980720101303.00a17100@ous.edu> Subject: [PATCH 5.004_75]Explicitly specify extensions during VMS config process -- Date: Mon, 20 Jul 1998 15:51:22 -0700 Message-Id: <3.0.5.32.19980720155122.00a41950@ous.edu> Subject: patch for readme.vms p4raw-id: //depot/perl@1589
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-17/+17
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* PL_ minir tidy upNick Ing-Simmons1998-07-191-22/+22
| | | p4raw-id: //depot/ansiperl@1568
* Merge latest mainlineNick Ing-Simmons1998-07-181-15/+25
|\ | | | | p4raw-id: //depot/ansiperl@1536
| * fix yet another USE_THREADS leak due to failure to free stacksGurusamy Sarathy1998-07-181-1/+11
| | | | | | p4raw-id: //depot/perl@1531
* | PL_ stuff for threadsNick Ing-Simmons1998-07-181-28/+28
|/ | | p4raw-id: //depot/ansiperl@1534
* fix $/ init for multiple interpreters/threadsGurusamy Sarathy1998-07-181-0/+2
| | | p4raw-id: //depot/perl@1523
* make RE engine threadsafe; -Dusethreads builds, tests on Solaris,Gurusamy Sarathy1998-07-121-0/+7
| | | | | | and runs regexes in 1000s of threads without crashing; also fixed statcache not being thread-local p4raw-id: //depot/perl@1448
* Documentation patch for Semaphore.pmHans Mulder1998-06-101-0/+43
| | | | | Message-Id: <3.0.5.32.19980608161314.00a0a880@ous.edu> p4raw-id: //depot/perl@1086
* Doc & feature patch for Thread::QueueHans Mulder1998-06-101-1/+65
| | | | | Message-Id: <3.0.5.32.19980608161002.00a64a70@ous.edu> p4raw-id: //depot/perl@1085
* [PATCH 5.004_64] Final (I hope) doc patch for Thread.pmDan Sugalski1998-05-141-1/+126
| | | | | | | Date: Wed, 08 Apr 1998 17:08:48 -0700 Subject: [PATCH 5.004_64] Revised second Thread.PM doc patch Date: Fri, 08 May 1998 10:49:16 -0700 p4raw-id: //depot/perl@962
* Next wave of _63 VMS patchesCharles Bailey1998-04-021-1/+15
| | | p4raw-id: //depot/perl@854
* 5.004_63 picky compiler fixes [PATCH]Hans Mulder1998-04-021-1/+1
| | | | | | | Date: Wed, 18 Mar 1998 09:36:32 -0800 Subject: [PATCH 5.004_63] Fix function prototype with long doubles Date: Wed, 18 Mar 1998 14:48:19 -0800 p4raw-id: //depot/perl@843
* Add Thread::Signal to run signal handlers reliably in a new threadMalcolm Beattie1998-03-182-11/+68
| | | p4raw-id: //depot/perl@835
* [win32] change all 'sp' to 'SP' in code and in the docs. ExplicitlyGurusamy Sarathy1998-03-071-7/+7
| | | | | | mention that local stack pointer should be called SP. This makes the API safer from source incompatibilities down the line. p4raw-id: //depot/win32/perl@795
* Miscellaneous minor fixesCharles Bailey1998-03-051-1/+2
| | | p4raw-id: //depot/perl@779
* retry [PATCH] 5.004_59: the perlhist.pod etcJarkko Hietaniemi1998-02-204-0/+75
| | | p4raw-id: //depot/perl@557
* Introduced thr->threadsvp and THREADSV() for faster per-threadMalcolm Beattie1998-02-021-21/+11
| | | | | | | 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
* Create a struct for all perls globals (as an option)Nick Ing-Simmons1997-12-011-1/+0
| | | | | | | Mainly for Mingw32 which cannot import data. Now only Opcode tests fail (op_desc/op_name not handled yet stuff) p4raw-id: //depot/ansiperl@341
* Fix typo in Thread.xs.Malcolm Beattie1997-11-251-2/+2
| | | p4raw-id: //depot/perl@297
* AIX patch (including Configure support for {sched,pthread}_yield,Jarkko Hietaniemi1997-11-253-5/+32
| | | | | | | pthread initial detach state, renaming perl_thread to perl_os_thread and struct thread to struct perl_thread): Subject: Re: _54 on AIX p4raw-id: //depot/perl@290
* $_ is now per-thread (rather a lot of changes). Only tested underMalcolm Beattie1997-11-211-1/+1
| | | | | *-linux-thread at the moment. p4raw-id: //depot/perl@274
* Bring MANIFEST up to date. Add new thread tests.Malcolm Beattie1997-11-182-0/+32
| | | p4raw-id: //depot/perl@265
* Add #include guard in Thread.xs so it will build even underGurusamy Sarathy1997-11-151-0/+2
| | | | | | no USE_THREADS (for win32). This was missed because of edit w/o checkout perforce kludge. p4raw-id: //depot/win32/perl@256
* Remove stale code from Thread.xs.Malcolm Beattie1997-11-141-35/+0
| | | p4raw-id: //depot/perl@251
* Rewrite thread return code to distinguish between ordinary returnMalcolm Beattie1997-11-135-30/+106
| | | | | | | | | | and die() and make join propagate the die. Add tiny method eval which just does "return eval { shift->join; }". Add Thread::Specific class for access to thread specific user data along with specific.t. Rename Class to classname throughout Thread.xs for consistency. Fix pp_specific to pp_threadsv in global.sym. Add support to pp_entersub in pp_hot.c to lock stash for static locked methods. p4raw-id: //depot/perl@248
* Initial integration of ansi branch into mainline (untested).Malcolm Beattie1997-11-111-31/+79
|\ | | | | p4raw-id: //depot/perl@230
| * Get threads working again on Win32Nick Ing-Simmons1997-11-081-4/+8
| | | | | | | | | | | | | | | | | | Root cause of fail was init_thread_intern() in new_struct_thread() (which is called in parent thread) clobbering dTHR of parent thread. It is doubtfull if setting 'self' in new_struct_thread() is 'right' but left in for now. p4raw-id: //depot/ansiperl@213
| * Reverse integrate Malcolm's chanes into localNick Ing-Simmons1997-11-071-17/+0
| | | | | | | | | | | | | | | | repository, then import result back into my view of Malcolm's repository. Builds and passes (most) tests with GNU C++/Solaris and Borland C++, Win32. p4raw-id: //depot/ansiperl@210
| * Raw integrate of latest perlNick Ing-Simmons1997-11-071-19/+11
| |\ | | | | | | p4raw-id: //depot/ansiperl@208
| * | Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)Nick Ing-Simmons1997-11-051-3/+32
| | | | | | | | | p4raw-id: //depot/ansiperl@203
| * | Integrate mainline @ 18:15 CST 31 Oct 1997Nick Ing-Simmons1997-11-011-30/+1
| |\ \ | | | | | | | | p4raw-id: //depot/ansiperl@199
| * | | Further ANSI changes now builds and passes (most) testsNick Ing-Simmons1997-10-311-25/+69
| | | | | | | | | | | | | | | | | | | | with gcc -x c++. p4raw-id: //depot/ansiperl@196
* | | | Fix up $@ (ERRSV now refers to GvSV(errgv) for non-threaded perl andMalcolm Beattie1997-11-111-0/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | thr->errsv for threaded perl). Fix pp_tie and pp_dbmopen to use GvCV(gv) instead of gv so AUTOLOAD stuff works. All tests now pass again for non-threaded perl. Enhanced perl_get_sv to return per-thread magicals where necessary for threaded perl. p4raw-id: //depot/perl@228
* | | Per-thread magicals now stored in their own thr->magicals and keyedMalcolm Beattie1997-11-061-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | more directly. cvcache and oursv become ordinary struct thread fields instead of #defined thr->Tfoo ones. SvREFCNT_inc now checks for 0 again. Main thread initialisation done by new function init_main_thread instead of (now fixed) new_struct_thread. p4raw-id: //depot/perl@205
* | | Per-thread magicals mostly working (and localisable). Now gettingMalcolm Beattie1997-11-051-0/+2
| |/ |/| | | | | | | | | intermittent occasional "Use of uninitialized value" warnings which may be due to some op flag black magic I've broken. p4raw-id: //depot/perl@204
* | Half way through moving per-thread magicals into per-thread fieldsMalcolm Beattie1997-10-311-30/+1
|/ | | | | | and the associated new OP_SPECIFIC and find_thread_magical stuff. perl will compile but plenty of the magicals are still broken. p4raw-id: //depot/perl@195
* Remove global macro "self". Change thr->Tself to thr->self.Malcolm Beattie1997-10-291-1/+2
| | | p4raw-id: //depot/perl@190