What are signals?

Hello!

I’m a newbie with UNIX like OSs programming and I can’t understand what
exactly is a signal.

I saw that a signal is kind of software interrupt. Is it true?

If this is a software interrupt, what is the signification of sending a
signal to a thread?
Does it mean that the interrupt handler will execute in that thread context?

Do you know good tutorials or web sites dealing with signals behavior?

Thanks!

Hi Vincent,

There is an “Introduction to Unix Signals Programming” document that
explains signals quite well at…

http://users.actcom.co.il/~choo/lupg/tutorials/signals/signals-programming.html

Regards,

Barry


Vincent <vincent.catros_NO_SPAM_@bigfoot.com> wrote:

Hello!

I’m a newbie with UNIX like OSs programming and I can’t understand what
exactly is a signal.

I saw that a signal is kind of software interrupt. Is it true?

If this is a software interrupt, what is the signification of sending a
signal to a thread?
Does it mean that the interrupt handler will execute in that thread context?

Do you know good tutorials or web sites dealing with signals behavior?

Thanks!