[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] signaler og SIGCHILD



Anders Larsen <sslug@sslug> writes:

> On Mon, 30 Sep 2002 01:31:41 +0200, Christian Hemmingsen wrote:
> 
> 
> > Ved at bruge sigaction(2) og flaget SA_SIGINFO. Når du gør det kan du
> > bruge en anderledes signatur til din signal håndtering, der bl.a. gør at
> > du får en struct siginfo_t * med som argument, der bl.a. indeholder pid
> > på afsenderen af signalet.
>  
> Ja, det var dette jeg ledte efter - tak skal du ha'

Men du skal nok alligevel - som Peter foreslår - kalde wait/waitpid i
din signalhåndtering (eller på et senere tidspunkt) for at undgå
defunct'e processer.

-- 
Christian Hemmingsen


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *