EmbLogic's Blog

program to handle orphan process

when the parent process finish it’s execution and the child process is not finished then in this case prompt don’t come normally.the termination goes abnormal then we get the prompt.to resolve this issue we use wait()

RCS file: ./orphan_using_wait.c,v
Working file: ./orphan_using_wait.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
when the parent process complete its execution
then the child becomes orphan process
in this case our prompt don’t came automatically
to handle this we use wait() function
—————————-
revision 1.1 locked by: root;
date: 2014/07/04 13:17:35; author: root; state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>