File Coverage

blib/lib/Sys/Mlockall.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Sys::Mlockall;
2              
3 1     1   21364 use 5.006000;
  1         3  
  1         49  
4 1     1   6 use strict;
  1         1  
  1         37  
5 1     1   6 use warnings;
  1         6  
  1         140  
6              
7             require Exporter;
8              
9             our @ISA = qw(Exporter);
10              
11             # Items to export into callers namespace by default. Note: do not export
12             # names by default without a very good reason. Use EXPORT_OK instead.
13             # Do not simply export all your public functions/methods/constants.
14              
15             # This allows declaration use Sys::Mlockall ':all';
16             # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
17             # will save memory.
18             our %EXPORT_TAGS = (
19             'all' => [ qw(MCL_FUTURE MCL_CURRENT mlockall munlockall) ]
20             );
21              
22             our @EXPORT_OK = (@{$EXPORT_TAGS{'all'}});
23              
24             our $VERSION = '0.01';
25              
26             require XSLoader;
27             XSLoader::load('Sys::Mlockall', $VERSION);
28              
29             # Preloaded methods go here.
30              
31             1;
32             __END__