Skip to content

Commit

Permalink
Merge pull request #1 from jdhedden/develop
Browse files Browse the repository at this point in the history
1.23 Fix tests
  • Loading branch information
jdhedden authored Apr 11, 2017
2 parents 0622c41 + 2aded69 commit b4364a1
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ nytprof.out
*.o
*.bs
/_eumm/

/ARCHIVE/
/stuff/
/Notes.txt
/xs/
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Revision history for Perl extension Thread::Suspend.

-
-

1.23 Tue Apr 11 05:14:22 2017
- Fix test suite errors

1.22 Wed Nov 21 19:34:31 2012
- Fix for test hangs on Windows

Expand Down
2 changes: 0 additions & 2 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ t/05_some.t
t/99_pod.t
t/test.pl
examples/suspend.pl
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Thread::Suspend version 1.22
Thread::Suspend version 1.23
============================

This module adds suspend and resume operations for threads.
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Thread-Suspend
The 'Thread-Suspend' module for Perl.
A module that adds suspend and resume operations for threads in Perl.

Detailed information regarding this module can be found on [MetaCPAN](https://metacpan.org/pod/Thread::Suspend).

13 changes: 9 additions & 4 deletions lib/Thread/Suspend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Thread::Suspend; {
use strict;
use warnings;

our $VERSION = '1.22';
our $VERSION = '1.23';

use threads 1.39;
use threads::shared 1.01;
Expand Down Expand Up @@ -154,7 +154,7 @@ Thread::Suspend - Suspend and resume operations for threads
=head1 VERSION
This document describes Thread::Suspend version 1.22
This document describes Thread::Suspend version 1.23
=head1 SYNOPSIS
Expand Down Expand Up @@ -311,11 +311,16 @@ L<Test::More> 0.50 or later (for installation)
=head1 SEE ALSO
Thread::Suspend Discussion Forum on CPAN:
L<http://www.cpanforum.com/dist/Thread-Suspend>
Thread::Suspend on MetaCPAN:
L<https://metacpan.org/release/Thread-Suspend>
Code repository:
L<https://github.com/jdhedden/Thread-Suspend>
L<threads>, L<threads::shared>
Sample code in the I<examples> directory of this distribution on CPAN.
=head1 AUTHOR
Jerry D. Hedden, S<E<lt>jdhedden AT cpan DOT orgE<gt>>
Expand Down
1 change: 1 addition & 0 deletions t/00_basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ can_ok('threads', qw(suspend is_suspended resume));

### Setup ###

use lib '.';
require 't/test.pl';

my @threads = make_threads($nthreads);
Expand Down
1 change: 1 addition & 0 deletions t/01_self.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use_ok('Thread::Suspend');

### Setup ###

use lib '.';
require 't/test.pl';

sub checker2
Expand Down
1 change: 1 addition & 0 deletions t/02_signal.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use_ok('Thread::Suspend', 'SIGILL');

### Setup ###

use lib '.';
require 't/test.pl';

my @threads = make_threads($nthreads);
Expand Down
1 change: 1 addition & 0 deletions t/03_detach.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use_ok('Thread::Suspend');

### Setup ###

use lib '.';
require 't/test.pl';

my @threads = make_threads($nthreads);
Expand Down
1 change: 1 addition & 0 deletions t/04_all.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use_ok('Thread::Suspend');

### Setup ###

use lib '.';
require 't/test.pl';

my @threads = make_threads($nthreads);
Expand Down
1 change: 1 addition & 0 deletions t/05_some.t
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use_ok('Thread::Suspend');

### Setup ###

use lib '.';
require 't/test.pl';

my @threads = make_threads($nthreads);
Expand Down
1 change: 1 addition & 0 deletions t/99_pod.t
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ Hedden
SIGUSR1
TIDs
cpan
MetaCPAN
__END__

0 comments on commit b4364a1

Please sign in to comment.