queue a signal

A program have to receive signals and work agreed with it, but the process have to receive more than one signal when it is attending other. Those have to be queued to be attended later recived.

how can i do that?

thanks.

Read about the POSIX signal interface.

posix signal - Google Search

In general, sending the same signal repeatedly to a server process is not a great idea. You should use IPC (pipes, sockets, message queues, lockfiles, etc.) instead.

I second Jim...

But if you really need/want queued signals, you'll need to use the real-time signals (SIGRTMIN .. SIGTRMAX)

Cheers, Lo�c