| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Test::Stream::Plugin::CanThread; | 
| 2 | 1 |  |  | 1 |  | 546 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 24 |  | 
| 3 | 1 |  |  | 1 |  | 5 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 27 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 5 | use Test::Stream::Capabilities qw/CAN_THREAD/; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 9 |  | 
| 6 |  |  |  |  |  |  |  | 
| 7 | 1 |  |  | 1 |  | 5 | use Test::Stream::Plugin; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 6 |  | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | sub load_ts_plugin { | 
| 10 | 1 |  |  | 1 | 0 | 2 | return if CAN_THREAD; | 
| 11 |  |  |  |  |  |  |  | 
| 12 | 1 |  |  |  |  | 5 | require Test::Stream::Context; | 
| 13 | 1 |  |  |  |  | 6 | my $ctx = Test::Stream::Context::context(); | 
| 14 | 1 |  |  |  |  | 6 | $ctx->plan(0, "SKIP", "This test requires a perl capable of threading."); | 
| 15 | 0 |  |  |  |  |  | $ctx->release; | 
| 16 | 0 |  |  |  |  |  | exit 0; | 
| 17 |  |  |  |  |  |  | } | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | 1; | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | __END__ |