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

[nptl] Re: nptl and signals



On Tue, 2005-07-12 at 15:01 +0530, divij bhatt wrote:
> Hi,
>    You are dam true i am facing this problem as I am using SIGALRM it is
> not queued and signals occurring at same time results in to the losing
> of a signal.I want to know that first is there any mechanism to get rid
> of it 

I don't think so. You may want to use some other mechanism to queue your
informations, such as a message queue for example. (see mq_open)

> second thing as there are 4 threads running but if i run them in
> kernel 2.4 (nptl enabled) then i find that only three threads are
> running why is it so?

No idea. From the code sample, I think it is normal to have 4 threads
created. Check at the pthread_create return value to get an idea of what
is happening?

Seb.

> 
> 
> 
> 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