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 | 28633 | use 5.008001; | |||
3 | 6 | ||||||
3 | 3 | 3 | 9 | use strict; | |||
3 | 5 | ||||||
3 | 47 | ||||||
4 | 3 | 3 | 15 | use warnings; | |||
3 | 3 | ||||||
3 | 70 | ||||||
5 | 3 | 3 | 9 | use Exporter 'import'; | |||
3 | 6 | ||||||
3 | 151 | ||||||
6 | |||||||
7 | our $VERSION = "0.025"; | ||||||
8 | |||||||
9 | our @EXPORT_OK = qw( | ||||||
10 | mutex_create | ||||||
11 | mutex_lock | ||||||
12 | mutex_unlock | ||||||
13 | mutex_destory | ||||||
14 | ); | ||||||
15 | |||||||
16 | 3 | 3 | 9 | use XSLoader; | |||
3 | 3 | ||||||
3 | 91 | ||||||
17 | XSLoader::load(__PACKAGE__, $VERSION); | ||||||
18 | |||||||
19 | 1; | ||||||
20 | __END__ |