Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Sending data to pipe in signal handler ???

Re: Sending data to pipe in signal handler ???

From: Ky Nguyen <knguyen_at_ab.bluecross.ca>
Date: Fri, 31 Jul 1998 15:55:01 -0600
Message-ID: <35C23D35.F7ACB9E2@ab.bluecross.ca>


Wolfgang.Rothmayer_at_bmw.de wrote:

> Hi there,
>
> What is the correct way to terminate a UNIX process listening to an
> ORACLE pipe in a while loop ?
>

What we have done is sending a stop package (could be -ve number or"StOp") instead of the normal value to indicate quitting time.

> We tried to install a signal handler which sends a special message to
> the while loop to terminate the process, but doing so causes the
> progam to hang up.
>
> Is it OK just to kill the process without any synchronization for the
> ORACLE pipe ?
>
> Any input is greatly appreciated.
>
> So long,
> Wolfgang.
Received on Fri Jul 31 1998 - 16:55:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US