summaryrefslogtreecommitdiff
path: root/dist/threads
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to threads 2.02Jerry D. Hedden2015-06-123-8/+8
|
* Upgrade to threads 2.01Jerry D. Hedden2015-03-173-8/+8
|
* Upgrade to threads 1.99Jerry D. Hedden2015-03-064-8/+15
|
* Upgrade to threads 1.98Jerry D. Hedden2015-03-053-8/+8
|
* Upgrade to threads 1.97Jerry D. Hedden2015-03-033-8/+8
| | | | | Committer actions: (1) regen for t/porting/customized.dat. (2) perldelta for update to threads.
* threads.pm version bump for 0c87ebb8.Jarkko Hietaniemi2014-12-061-1/+1
|
* Variables possibly clobbered by longjmp/vfork.Jarkko Hietaniemi2014-12-061-2/+2
| | | | (my_perl in the line 480 has the same problem, but messier to fix.)
* Ignore warning about unused result since it is desperation time.Jarkko Hietaniemi2014-09-011-1/+1
|
* Upgrade to threads 1.96Jerry D. Hedden2014-08-274-9/+9
|
* static misc things in /dist/threads/threads.xsDaniel Dragan2014-07-072-6/+6
| | | | | | there is no reason for these functions to be exported on a linux build, since they aren't exported on Win32, also consting ithread_vtbl allows more memory to be shared between perl procs
* Make like() and unlike() in t/test.pl refuse non-qr// argumentsÆvar Arnfjörð Bjarmason2014-06-212-3/+3
| | | | | | | | | | | | | | | As I noted in v5.21.1-12-g826af13 we have subtle bugs in the test suite because you can do e.g. like($@, '') now which'll be a passing test even when we have an error, because $@ =~ // will be true. I'm just changing t/test.pl to not accept non-Regexp arguments, and fixing up a bunch of test failures that resulted from that. There might still be more of these in tests that I'm just not running, I've also changed some of these from $str =~ /foo/ to $str eq 'foo' (i.e. s/like/is/) in cases where that appeared to work, but it might break some systems. Let's just find that out via the smokers.
* Bring a long line in threads.pm under 80 colskafka2014-06-041-1/+2
| | | | For: https://rt.perl.org/Ticket/Display.html?id=121873
* Build fixes for Win32 after the Coverity smoke.Jarkko Hietaniemi2014-05-291-4/+6
| | | | (for 375ed12a42c6092b1af1d8e395bf3dadd9a66e48)
* Version bumping thanks to the Coverity deluge.Jarkko Hietaniemi2014-05-291-1/+1
|
* fcntl receiving -1 from fileno, fcntl failing.Jarkko Hietaniemi2014-05-291-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Also very few spots of negative numgroups for getgroups(), and fgetc() return, but almost all checking is for fcntl.) (merged fix for perl #121743 and perl #121745: hopefully picked up all the fixes-to-fixes from the ticket...) Fix for Coverity perl5 CIDs 28990..29003,29005..29011,29013, 45354,45363,49926: Argument cannot be negative (NEGATIVE_RETURNS) fd is passed to a parameter that cannot be negative. and CIDs 29004, 29012: Argument cannot be negative (NEGATIVE_RETURNS) num_groups is passed to a parameter that cannot be negative and because of CIDs 29005 and 29006 also CID 28924. In the first set of issues a fd is retrieved from PerlIO_fileno, and that is then used in places like fstat(), fchown(), dup(), etc., without checking whether the fd is valid (>=0). In the second set of issues a potentially negative number is potentially passed to getgroups(). The CIDs 29005 and 29006 were a bit messy: fixing them needed also resolving CID 28924 where the return value of fstat() was ignored, and for completeness adding two croak calls (with perldiag updates): a bit of a waste since it's suidperl code.
* officially discourage the use of threadsRicardo Signes2014-03-051-1/+11
| | | | some language borrowed from a larger patch by Christian Walde
* Upgrade to threads 1.92Jerry D. Hedden2014-02-053-8/+8
|
* fix 'ignoring return value' compiler warningsDavid Mitchell2013-11-242-2/+4
| | | | | | | | | | | Various system functions like write() are marked with the __warn_unused_result__ attribute, which causes an 'ignoring return value' warning to be emitted, even if the function call result is cast to (void). The generic solution seems to be int rc = write(...); PERL_UNUSED_VAR(rc);
* threads: silence some compiler warnings.David Mitchell2013-11-182-6/+10
| | | | | | | | | From 5.8.9, the MGVTBL struct has a 'svt_local' member Declare some vars volatile within a function that uses jongjmp Mark the unused return value from PerlLIO_write() as void(), even though it won't shut up gcc.
* Upgrade to threads 1.88Jerry D. Hedden2013-09-283-15/+15
|
* better pod for threads::_handleDaniel Dragan2013-09-281-3/+4
| | | | | | | | | | First time I tried to get the OS handle I wrote unpack('P[Q || L /*PICK ONE*/]', $thread->_handle()) it crashed because _handle returns a number, not a packed string. unpack wants a packed string. Mention the pointer is numeric and not to ever pass the retval to unpack('P[.
* Upgrade to threads 1.87Jerry D. Hedden2013-05-295-14/+33
|
* Update threads to CPAN version 1.86Chris 'BinGOs' Williams2011-12-142-6/+6
| | | | | | | [DELTA] 1.86 Wed Dec 14 21:12:51 2011 - Fix for mingw-w64 build due to setjmp difference
* Increase $threads::VERSION to 1.86Father Chrysostomos2011-12-021-2/+2
|
* [perl #104776] Fix threads for latest 64bit mingw-w64 + gcc 4.6Mark Dootson2011-12-021-0/+3
| | | | | | Latest mingw-w64 64 bit + gcc >= 4.6.2 fails due to differences in setjmp definition. (32 bit is OK) (t/exit.t fails a couple of tests with access violation faults)
* Upgrade to threads 1.85Jerry D. Hedden2011-09-033-7/+7
|
* Bump threads(::shared) versions againFather Chrysostomos2011-09-021-2/+2
| | | | | | Since these numbers have already been used for developement releases, they need to be changed again. I also added a note to make sure they no longer get out of sync with the pod.
* Upgrade to threads 1.84Jerry D. Hedden2011-09-023-7/+37
|
* In threads.xs, remove num_args from ithread_create, as it is unused.Nicholas Clark2011-07-062-2/+1
| | | | It has never been used - it was added unused with commit 680818c0361b180b.
* Fix broken URL in dist/threads/lib/threads.pm for the itheads mailing listLeon Brocard2011-06-121-1/+1
|
* Upgrade to threads 1.83Jerry D. Hedden2011-04-193-7/+7
|
* Remove code before declaration, inadvertently added in 447f000ef4448b16.Nicholas Clark2011-01-131-3/+4
| | | | | Code in dist/ isn't yet subject to all the warnings flags that the core C code enjoys.
* ithread_create() was relying on the stack not moving. Fix this.Nicholas Clark2011-01-131-21/+25
| | | | | | | | | | | 4cf5eae5e58faebb changed S_ithread_create() to avoid creating an AV, by passing the thread creation arguments as pointers to a block of memory holding SVs. Unfortunately, this inadvertently introduced a subtle bug, because the block of memory is on the Perl stack, which can move as a side effect of being reallocated to extend it. Hence pass in the offset on the stack instead, read the current value of the relevant interpreter's stack at the point of access, and copy all the SVs away before making any further calls which might cause reallocation.
* In S_ithread_create, reduce the amount of conditionally compiled C code.Nicholas Clark2011-01-112-31/+12
| | | | | With a small amount of refactoring, compatibility across different perl versions can be achieved with less duplication.
* Fix typos (spelling errors) in dist/*Peter J. Acklam) (via RT2011-01-073-3/+3
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81888] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81888 > Signed-off-by: Abigail <abigail@abigail.be>
* [PATCH] Upgrade to threads 1.82Jerry D. Hedden2010-12-243-14/+8
| | | | Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* bump version of many modulesZefram2010-12-191-1/+1
| | | | | Core-only modules that have changed from v5.13.7, and dual-life modules that have changed from v5.13.7 and didn't show up in earlier passes.
* fix various compiler warnings from XS codeZefram2010-12-111-0/+2
| | | | | | | | | | | Trivial changes to fix warnings of types * unclear precedence * assignment as conditional * signed/unsigned mixing * unused parameter/variable * value computed not used * wrong argument type for a printf format * variable may be used uninitialised (due to unhandled switch case)
* Increase threads’ versionFather Chrysostomos2010-11-111-1/+1
|
* Correct note about dir handles in threads.pmFather Chrysostomos2010-11-111-2/+2
|
* Correct threads versionFather Chrysostomos2010-10-141-1/+1
|
* Change the perl version mentioned in threads.pm concerning dirhandlesFather Chrysostomos2010-10-141-2/+2
| | | | as this may change before 5.14.
* Update the dirhandle entry in thread.pm’s docsFather Chrysostomos2010-09-271-2/+8
|
* [perl #78088] [PATCH] Upgrade to threads 1.81Jerry D. Hedden2010-09-284-12/+93
| | | | | | | [DELTA] The attached patch makes the CPAN distribution of 'threads' compatible with with v5.13.2 and later.
* [perl #78000] [PATCH] Upgrade to threads 1.79Jerry D. Hedden2010-09-245-11/+119
| | | | | | Attached is a revised patch to upgrade to v1.79. I needed to fix the tests in the newly added t/kill2.t file. The blead version will be 1.79_01.
* Global executable bit cleanupDavid Golden2010-07-241-0/+0
| | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* Reorganize dist/threadsJerry D. Hedden2010-07-082-112/+1
| | | | Move threads.pm to lib/threads.pm and remove Makefile.PL
* bump threads.pm versionMatt S Trout2010-06-211-1/+1
|
* Abstract *correct* initialisation of CLONE_PARAMS into Perl_clone_params_new().Nicholas Clark2010-05-241-19/+14
| | | | | | | | | | | | | As it allocates memory dynamically, add Perl_clone_params_del(). This will allow CLONE_PARAMS to be expand in future in a source and binary compatible fashion. These implementations of Perl_clone_params_new()/Perl_clone_params_del() jump through hoops to remain source and binary compatible, in particular, by not assuming that the structure member is present and correctly initialised. Hence they should be suitable for inclusion into Devel::PPPort. Convert threads.xs to use them, resolving RT #73046.
* Convert Perl_sv_dup_inc() from a macro to a real function.Nicholas Clark2010-05-241-1/+1
|