Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: atomic operations

by SciDude (Friar)
on Jul 09, 2004 at 02:54 UTC ( #373025=note: print w/ replies, xml ) Need Help??


in reply to atomic operations

Assuming that you are using the "cookbook" method;

use Config; defined $Config{sig_name} or die "No sigs?"; $i = 0; # Config prepends fake 0 signal called "ZE +RO". foreach $name (split(' ', $Config{sig_name})) { $signo{$name} = $i; $signame[$i] = $name; $i++; }

You should be able to send the kill command to a name -or- PID. This should solve your problem (or am I missing the point of your question?)


SciDude
The first dog barks... all other dogs bark at the first dog.


Comment on Re: atomic operations
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://373025]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-11-29 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls