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

Home -> Community -> Usenet -> c.d.o.misc -> Pro*C question concerning Unix fork() system call

Pro*C question concerning Unix fork() system call

From: Nuno Guerreiro <nuno-v-guerreiro_at_telecom.pt>
Date: 1998/02/02
Message-ID: <34d8efbe.98724177@news.telecom.pt>#1/1

I'm developing a Pro*C program in the HP-UX OS against an Oracle 7.3.3 DBMS. The program consists of a daemon whose mission is to provide services received through an Oracle pipe (using the DBMS_PIPE package).

For best performance, when the daemon receives a request, it should call the fork() system call and let the child process service the request, while the parent process keeps scanning the pipe for other requests.

When the fork() call takes place, does the child process create a new database session or it simply uses the same as the parent process?

Thanks in advance,

Nuno Guerreiro Received on Mon Feb 02 1998 - 00:00:00 CST

Original text of this message

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