5 use if !$Config{useithreads} => 'Test::More' => skip_all => 'no threads';
8 use Wx qw(:everything);
9 use if !Wx::wxTHREADS, 'Test::More' => skip_all => 'No thread support';
10 use Test::More tests => 4;
13 my $app = Wx::App->new( sub { 1 } );
14 my $cp = Wx::CommandProcessor->new;
15 my $pc = Wx::PlCommand->new;
16 my $cp2 = Wx::CommandProcessor->new;
17 my $pc2 = Wx::PlCommand->new;
20 $pc2->Destroy; # having it DTRT on undef is tricky
22 my $t = threads->create
26 ok( 1, 'Before join' );
28 ok( 1, 'After join' );
30 END { ok( 1, 'At END' ) };