Thread::DeadlockThread::Deadlock is a Perl module to report deadlocks with stacktrace. | |
Download |
Thread::Deadlock Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Elizabeth Mattijsen
- Publisher web site:
- http://search.cpan.org/~elizabeth/
Thread::Deadlock Tags
Thread::Deadlock Description
Thread::Deadlock is a Perl module to report deadlocks with stacktrace. Thread::Deadlock is a Perl module to report deadlocks with stacktrace.SYNOPSIS perl -MThread::Deadlock program # report to STDERR perl -MThread::Deadlock=filename program # report to file use Thread::Deadlock; # report to STDERR use Thread::Deadlock 'filename'; # report to file use Thread::Deadlock (); # set up, need on() later use Thread::Deadlock ( # call class methods easily summary => 'auto', callers => 4, shorten => 1, format => 'plain', encoding => 'iso-latin-1', output => 'STDERR', trace => undef, ); Thread::Deadlock->summary( 'auto' ); # default, automatic Thread::Deadlock->summary( 0 ); # don't do summary Thread::Deadlock->summary( 1 ); # do summary always Thread::Deadlock->callers( 4 ); # default, show 4 lines in dump Thread::Deadlock->callers( 0 ); # show all lines in dump Thread::Deadlock->shorten( 1 ); # default: shorten package names Thread::Deadlock->shorten( 0 ); # do not shorten package names Thread::Deadlock->format( 'plain' ); # default, plain text format Thread::Deadlock->format( 'xml' ); # set XML format Thread::Deadlock->encoding('iso-latin-1'); # only needed for XML format Thread::Deadlock->off; # disable in this thread Thread::Deadlock->on; # enable again in this thread $report = Thread::Deadlock->report; # return intermediate report Thread::Deadlock->output( 'filename' ); # report to file Thread::Deadlock->disable; # disable report Thread::Deadlock->trace( 'filename' ); # start tracing to file Thread::Deadlock->untrace; # stop tracing (default) Requirements: · Perl
Thread::Deadlock Related Software