Re: Can C programs be invoked from triggers?

From: Joe Halpin <jhalpin_at_netcom.com>
Date: Thu, 20 Oct 1994 21:20:08 GMT
Message-ID: <jhalpinCxzpxL.Bp6_at_netcom.com>


In article <384iif$m7q_at_server.st.usm.edu> jwingram_at_whale.st.usm.edu (Jonathan Wayne Ingram) writes:
>I am not sure you got the question quite right -- he asked if he could call
>a c program, not communicate with one. As to calling, the answer is no
>when you refer to database triggers. But the above mentioned solution
>will work if you want ot have your c program loop infinitely and check
>the pipe each time through the loop :)

Well, it's not all that bad. If you do a blocking read in the loop the C program will be asleep, and therefore not using the processor, until it needs it.

-- 
Joe Halpin 
jhalpin_at_netcom.com
---------------------------------------------------------------------------
Received on Thu Oct 20 1994 - 22:20:08 CET

Original text of this message