Signal Default Action


 
Thread Tools Search this Thread
Top Forums Programming Signal Default Action
# 8  
Old 11-29-2007
Quote:
Originally Posted by matrixmadhan
Porter, is this what you meant ?
Yes, consistent on a particular platform/environment.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

multiple action!

lets explain it easy by showing the initial file and desired file: I've a file such this that contains: initial_file: 31/12/2011 23:46:08 38.6762 43.689 14.16 Ml 3.1 ... (1 Reply)
Discussion started by: oreka18
1 Replies

2. AIX

Received signal #11, SIGSEGV [default] on AIX 6.1

Hello, One of our customer is getting segmentation fault when he runs his shell script which invokes our executable on AIX 6.1. On AIX 5.3, there were no issues. Here is the truss output. 811242: __loadx(0x0A040000, 0xF0D3A26C, 0x00000000, 0x00000009, 0x00000000) = 0xF026E884... (0 Replies)
Discussion started by: erra_krishna
0 Replies

3. Shell Programming and Scripting

Need help with find its action

I am writing a shell script that takes at least 2 arguments. The first is an octal representation of file permissions, the second is a command that is executed on all the files found with that permission. #!/bin/sh find . -perm $1 -exec $2 $3 $4 {} \; invoked: ./script.sh 543 ls -la what... (3 Replies)
Discussion started by: computethis
3 Replies

4. Shell Programming and Scripting

same action in then as in else: explanation?

in /etc/init.d/networking of an ubuntu computer, I found this code: if ifdown -a --exclude=lo; then log_action_end_msg $? else log_action_end_msg $? fi Shouldn't it be replace by ifdown -a --exclude=lo ... (0 Replies)
Discussion started by: raphinou
0 Replies

5. Shell Programming and Scripting

action command

Hi.. When i refered the script /etc/rc.sysinit... i found the "action commands" like But this is not working in my shells.. the following error is coming... Please anybody help Thanks in advance esham (5 Replies)
Discussion started by: esham
5 Replies

6. UNIX for Dummies Questions & Answers

any idea to repeat a action in VI

Any idea to repeat an action to all the lines in vi... suppose i want to delete the first word from all the lines in VI .. how would i do it ? in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
Discussion started by: myelvis
6 Replies
Login or Register to Ask a Question
Signal(3pm)						User Contributed Perl Documentation					       Signal(3pm)

NAME
Coro::Signal - thread signals (binary semaphores) SYNOPSIS
use Coro; $sig = new Coro::Signal; $sig->wait; # wait for signal # ... some other "thread" $sig->send; DESCRIPTION
This module implements signals/binary semaphores/condition variables (basically all the same thing). You can wait for a signal to occur or send it, in which case it will wake up one waiter, or it can be broadcast, waking up all waiters. It is recommended not to mix "send" and "broadcast" calls on the same "Coro::Signal" - it should work as documented, but it can easily confuse you :-> You don't have to load "Coro::Signal" manually, it will be loaded automatically when you "use Coro" and call the "new" constructor. $sig = new Coro::Signal; Create a new signal. $sig->wait Wait for the signal to occur (via either "send" or "broadcast"). Returns immediately if the signal has been sent before. $sem->wait ($callback) If you pass a callback argument to "wait", it will not wait, but immediately return. The callback will be called under the same conditions as "wait" without arguments would continue the thrad. The callback might wake up any number of threads, but is NOT allowed to block (switch to other threads). $sig->send Send the signal, waking up one waiting process or remember the signal if no process is waiting. $sig->broadcast Send the signal, waking up all waiting process. If no process is waiting the signal is lost. $sig->awaited Return true when the signal is being awaited by some process. AUTHOR
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/ perl v5.14.2 2012-04-13 Signal(3pm)