summaryrefslogtreecommitdiff
path: root/ext/Thread
Commit message (Collapse)AuthorAgeFilesLines
* Integrate from maint:Marcus Holland-Moritz2003-06-111-2/+7
| | | | | | | | | | | | | | | [ 19738] Subject: Re: [PATCH: maint @ 19733] CL compiler warnings on MSWin32 From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <011701c32f8c$62d85ee0$0c2f1fac@R2D2> p4raw-link: @19738 on //depot/perl: 5a1dd2ab5c9ca51eda95e7e0025702bdfcd91d9fon //depot/maint-5.8/perl: c43a4d73e4c3d92928dd743544b60e43ce02ee9c p4raw-id: //depot/perl@19739 p4raw-integrated: from //depot/maint-5.8/perl@19738 'copy in' ext/Encode/encengine.c (@18665..) ext/List/Util/Util.xs (@18791..) ext/Storable/Storable.xs (@19551..) ext/POSIX/POSIX.xs (@19704..) ext/threads/threads.xs (@19722..) 'merge in' ext/Thread/Thread.xs (@18145..) pp.h (@19400..) sv.c (@19653..) perl.c (@19704..) op.c (@19732..)
* change #18030 needs the removal of ext/Thread/thr5005.tHugo van der Sanden2002-10-241-207/+0
| | | | | p4raw-link: @18030 on //depot/perl: 3db8f154c4c6e098a5a0bdf7932e8f86fbd2c451 p4raw-id: //depot/perl@18054
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-192-823/+7
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* The installation of the 5.005threads {Queue,Semaphore}.pmJarkko Hietaniemi2002-07-132-0/+6
| | | | | didn't quite work. p4raw-id: //depot/perl@17518
* threads::shared::queue and semaphore become Thread::SemaphoreJarkko Hietaniemi2002-07-122-0/+198
| | | | | | | and Queue. The 5005threads case where the old Semaphore and Queue.pm (they are disguised as .pmx) should get magically installed instead has not been tested. p4raw-id: //depot/perl@17509
* [DOC PATCH] Thread::Signal.pmElizabeth Mattijsen2002-07-081-1/+21
| | | | | Message-Id: <4.2.0.58.20020708233854.024783b0@mickey.dijkmat.nl> p4raw-id: //depot/perl@17426
* Move the obsolete README.threads out of sight to ext/Threads;Jarkko Hietaniemi2002-06-051-0/+349
| | | | | | save one part of the IRIX knowledge in INSTALL (though IRIX 6.2 is quite old...) p4raw-id: //depot/perl@16995
* Add emulation layer for Thread/Semaphore and Thread/QueueArtur Bergman2002-05-122-185/+0
| | | p4raw-id: //depot/perl@16559
* 5005threads didn't work because $Thread::VERSION wasn'tJarkko Hietaniemi2001-11-161-3/+3
| | | | | visible. Oops. p4raw-id: //depot/perl@13054
* Make Thread a wrapper for both ithreads and 5005threads.Jarkko Hietaniemi2001-11-1618-307/+2
| | | | | | | | | | | | | | | | | | | Needs a lot of work and Arthur's eyeballing (and finishing few missing odds and ends of threads.pm). Now Thread is an extension without its own .pm. If there are people who have experience working with either the 5005threads or the ithreads: cleaning up the documentation (Thread.pm, threads.pm, and perl*thrtut.pod), and porting the various Thread::* modules, like Thread::Queue, to work also with ithreads, is needed. Removed the 5005threads requirement from the 5005 tests for easier testing (not all of them work yet since they use the Thread::* modules that have not been made to work with ithreads). Leave the 5005 tests named as *.tx so that they are not run by "make test". p4raw-id: //depot/perl@13036
* Add the fruits of Larry Shatzer's version verifying script.Jarkko Hietaniemi2001-11-164-0/+9
| | | | | | (There are some straddlers, but they will be fixed in the upcoming releases of the modules.) p4raw-id: //depot/perl@13034
* Re: [ID 20010815.012] Unfortunate interaction between -0 cmd line arg & ↵Hugo van der Sanden2001-09-151-1/+0
| | | | | | | (??{CODE}) regex Message-Id: <200109091741.f89HfsM18534@crypt.compulink.co.uk> p4raw-id: //depot/perl@12027
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-15/+15
| | | | | | 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
* a small fix.Vadim Konovalov2001-07-021-0/+1
| | | | | | From: "Konovalov, Vadim Vladimirovich (Vadim)" <vkonovalov@lucent.com> Message-ID: <E3FB32585BF1D411B9E900805FF51A08074B35@RU0022EXCH001U> p4raw-id: //depot/perl@11080
* Based onRichard Soderberg2001-06-292-5/+5
| | | | | | Subject: [PATCH @11016] More );) fixes Message-ID: <Pine.LNX.4.21.0106290408200.12037-100000@oregonnet.com> p4raw-id: //depot/perl@11022
* Bump up the VERSIONs of modules that have changed since 5.6.0,Jarkko Hietaniemi2001-06-291-1/+1
| | | | | the modules found using a script written by Larry Schatzer Jr. p4raw-id: //depot/perl@11016
* Rename the old non-standard threads tests so thatJarkko Hietaniemi2001-06-1916-0/+0
| | | | | they won't be invoked. p4raw-id: //depot/perl@10711
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-181-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676
* Protect the (original) thread tests against testing if no 5.005Jarkko Hietaniemi2001-06-1716-0/+192
| | | | | threads have been configured. p4raw-id: //depot/perl@10673
* -Wall cleanup.Jarkko Hietaniemi2001-06-161-7/+2
| | | p4raw-id: //depot/perl@10652
* pthread_attr_setstacksize() isn't absolutely necessaryJarkko Hietaniemi2001-06-161-2/+0
| | | | | to call, only iff THREAD_CREATE_NEEDS_STACK. p4raw-id: //depot/perl@10651
* Move the stack desire definition to thread.h.Jarkko Hietaniemi2001-05-161-5/+10
| | | p4raw-id: //depot/perl@10122
* DG-UX threading patches, including a README.dgux,Jarkko Hietaniemi2001-05-161-0/+4
| | | | | from Takis Psarogiannakopoulos. p4raw-id: //depot/perl@10121
* Integrate change #9646 from maintperl into mainline.Jarkko Hietaniemi2001-04-092-1/+16
| | | | | | | | | add note about ithreads and Thread.pm p4raw-link: @9646 on //depot/maint-5.6/perl: 17a9312cad5ed64ba042d3290b6b96c0c0cf8f59 p4raw-id: //depot/perl@9648 p4raw-integrated: from //depot/maint-5.6/perl@9647 'merge in' ext/Thread/Thread.pm (@7247..) ext/Thread/Thread.xs (@9547..)
* Integrate changes #9544,9547,9549(perlio),9550,9551 fromJarkko Hietaniemi2001-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | maintperl into mainline. "double" should be "NV"; standard typemap is missing entry for NV s/djSP/dSP/ Downgrade "Wide character in print" to a warning. B::Deparse fix for ${^FOO} and documentation for PVX() method (from Robin Houston) tr/// doesn't null-terminate the result in some situations (from Gisle Aas) p4raw-link: @9549 on //depot/perlio: ae79846703a543a04b4fe449abfd6b1e08a9e149 p4raw-link: @9547 on //depot/maint-5.6/perl: 5976aebc9f997fdf4f4889f497e528a90c8a7dc3 p4raw-link: @9544 on //depot/maint-5.6/perl: 405f61b82790e3c0b3cb02962f34aa8522c5a18e p4raw-id: //depot/perl@9553 p4raw-integrated: from //depot/maint-5.6/perl@9552 'copy in' ext/B/B/C.pm (@9235..) 'merge in' lib/ExtUtils/typemap (@8151..) ext/Thread/Thread.xs (@8606..) t/op/tr.t (@9152..) doop.c (@9288..) ext/B/B.pm ext/B/B/Deparse.pm (@9548..) p4raw-integrated: from //depot/maint-5.6/perl@9544 'merge in' ext/B/B.xs (@8621..)
* more pod patchesMichael Stevens2001-03-162-2/+2
| | | | | Message-ID: <20010315212518.A18870@firedrake.org> p4raw-id: //depot/perl@9176
* Re: Latest tarball doesn't build with threadsNick Ing-Simmons2000-12-211-1/+1
| | | | | | | Message-Id: <200012210938.JAA29043@mikado.tiuk.ti.com> The ofs became an SV. p4raw-id: //depot/perl@8217
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-2/+0
| | | p4raw-id: //depot/perl@7984
* Re: [PATCH 5.6.0]Add non-blocking thread doneness checkingHugo van der Sanden2000-10-262-4/+3
| | | | | | | Message-Id: <200010260055.BAA27869@crypt.compulink.co.uk> minus one unneeded mutex lock/unlock pointed out by Dan Sugalski. p4raw-id: //depot/perl@7449
* Add non-blocking thread doneness checkingDan Sugalski2000-10-252-0/+26
| | | | | | | Message-Id: <5.0.0.25.0.20001025133504.01ef1e20@24.8.96.48> plus regen global.sym. p4raw-id: //depot/perl@7442
* Fix for thinko in #6848.Lupe Christoph2000-08-291-1/+1
| | | | | | Subject: Compiler error in ext/Thread/Thread.c (bleadperl@6866) Message-ID: <20000829090408.V4437@alanya.lupe-christoph.de> p4raw-id: //depot/perl@6876
* Use the actual thread type, not the pointer-to-struct.Jarkko Hietaniemi2000-08-271-1/+1
| | | p4raw-id: //depot/perl@6848
* typo in podGurusamy Sarathy2000-04-241-1/+1
| | | p4raw-id: //depot/perl@5910
* integrate cfgperl contents into mainlineGurusamy Sarathy2000-03-191-9/+8
| | | p4raw-id: //depot/perl@5822
* syntax errors in Thread::* (from Tom Christiansen)Gurusamy Sarathy2000-03-173-8/+9
| | | p4raw-id: //depot/perl@5786
* more adjustments needed for change#5342 under use5005threadsGurusamy Sarathy2000-02-291-4/+4
| | | | | p4raw-link: @5342 on //depot/perl: ba869debd80c55cfae8e9d4de0991d62f9efcb9b p4raw-id: //depot/perl@5351
* mention threads status in podGurusamy Sarathy2000-02-071-1/+7
| | | p4raw-id: //depot/perl@5021
* various pod nits identified by installhtml (all fixed exceptGurusamy Sarathy2000-01-271-0/+2
| | | | | unresolved links) p4raw-id: //depot/perl@4910
* s/use vars/our/g modules that aren't independently maintained on CPANGurusamy Sarathy2000-01-231-1/+1
| | | p4raw-id: //depot/perl@4860
* applied suggested patch; removed $VERSION = $VERSION hackIlya Zakharevich1999-12-031-3/+3
| | | | | | | | | (change#4043 fixed the need for that) Message-Id: <199911160650.BAA18874@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_62] XSLoader.pm p4raw-link: @4043 on //depot/cfgperl: 09bef84370e90d727656ea11ba5ee8be80e361d3 p4raw-id: //depot/perl@4623
* fix two leaks in Thread.xs (from Eugene AltermanGurusamy Sarathy1999-10-107-27/+21
| | | | | | <Eugene.Alterman@bremer-inc.com>); convert places with 'use attrs' to new attributes syntax p4raw-id: //depot/perl@4328
* 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
* make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-062-22/+22
| | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* 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
* new thread should set current interp in TLSGurusamy Sarathy1999-08-261-1/+7
| | | p4raw-id: //depot/perl@4032
* More optimizations to REx engineIlya Zakharevich1999-08-011-0/+1
| | | | | Message-Id: <199907311407.IAA25038@localhost.frii.com> p4raw-id: //depot/perl@3857
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-0/+2
| | | | | | | | | | | | | | | | 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
* prohibit thread join()ing itself (from Dan Sugalski)Gurusamy Sarathy1999-07-071-0/+2
| | | p4raw-id: //depot/perl@3645
* avoid warningsGurusamy Sarathy1999-07-021-1/+1
| | | p4raw-id: //depot/perl@3564
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-8/+8
| | | | | | | | | | | | | | | | | | | | | 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