Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 studying the Monastery: (5)
As of 2015-07-04 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls