kaio
[Top] [All Lists]

Re: How to block signal on main process(kaiod are defunct. why???)

To: ±èÈñ¼º <hskim@xxxxxxxxxxxxx>
Subject: Re: How to block signal on main process(kaiod are defunct. why???)
From: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Date: Wed, 11 Oct 2000 15:43:07 -0700
Cc: kaio@xxxxxxxxxxx
References: <002701c033d2$e48e65a0$c73728d3@xxxxxxxxxxxxxxxxxx>
Sender: owner-kaio@xxxxxxxxxxx
> ±èÈñ¼º wrote:
> 
> Hello,
> 
> I'm coding socket server program using aio*.
> Here is my problem.
> 
> I'm blocking aio_completion signal using pthread_sigmask() except one pthread.
> but it seems unblocked on main process(listening process) and ps show me
> all kaiod-workers and one worker thread(process?) to be defunct.
> aio_read/aio_write call return out of resource error.
> 
> can anybody help me?

Hi,

The easiest thing might be to abstract a small test case
from your program and post it here. It's much easier to
see the problem on a test system than to have it described.
Please use plain text format in your mail.


> 
> thx,
> 
> 
> Regards,
> 
> Hee S. Kim
> hskim@xxxxxxxxxxxxx
> 
> ps.) show me the examples of multithreaded socket coding using aio_*,if one 
> have.
> 
> 

-- 
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>