blib/lib/Global/MutexLock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 19 | 19 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Global::MutexLock; | ||||||
2 | 3 | 3 | 31494 | use 5.008001; | |||
3 | 9 | ||||||
3 | 3 | 3 | 13 | use strict; | |||
3 | 4 | ||||||
3 | 61 | ||||||
4 | 3 | 3 | 17 | use warnings; | |||
3 | 5 | ||||||
3 | 82 | ||||||
5 | 3 | 3 | 11 | use Exporter 'import'; | |||
3 | 8 | ||||||
3 | 188 | ||||||
6 | |||||||
7 | our $VERSION = "0.026"; | ||||||
8 | |||||||
9 | our @EXPORT_OK = qw( | ||||||
10 | mutex_create | ||||||
11 | mutex_lock | ||||||
12 | mutex_unlock | ||||||
13 | mutex_destory | ||||||
14 | ); | ||||||
15 | |||||||
16 | 3 | 3 | 12 | use XSLoader; | |||
3 | 4 | ||||||
3 | 106 | ||||||
17 | XSLoader::load(__PACKAGE__, $VERSION); | ||||||
18 | |||||||
19 | 1; | ||||||
20 | __END__ |