[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nptl] Re: handling asynchronous event



Sure, you can register a signal handler.

The tricky part in POSIX is that the signal can be generated either for
a thread or for a process. The signal mask is thread-based. The handlers
are registered for the process, IIRC.

See pthread_sigmask, pthread_kill for more information.

Hope this is clear...

Seb.


On Tue, 2005-07-12 at 21:17 +0530, divij bhatt wrote:
> Hi,
>    I want to know is there any mechanism to handle asynchronous events
> like SIGALRM in a multi threading environment threads are nptl enabled
> POSIX complaint threads and I am using FC2 with glibc 3.3.3
> 
> Thanks in Advance
> 
> 
> Liste de diffusion nptl
> Pour se dsinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe
> 
-- 
Sebastien Decugis
Bull S.A.

Liste de diffusion nptl
Pour se désinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe