EmbLogic's Blog

Fork duplicacy

RCS file: 1.c,v
Working file: 1.c
head: 1.20
branch:
locks: strict
akshat: 1.20
access list:
symbolic names:
keyword substitution: kv
total revisions: 20;    selected revisions: 20
description:
IPC process basic.
Working of fork.
—————————-
revision 1.20    locked by: akshat;
date: 2014/03/06 06:19:38;  author: akshat;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.19
date: 2014/03/06 06:08:13;  author: akshat;  state: Exp;  lines: +25 -36
exit function call for controlling orphan.
—————————-
revision 1.18
date: 2014/03/06 05:55:18;  author: akshat;  state: Exp;  lines: +28 -3
Exit call to check status value and use of macros.
—————————-
revision 1.17
date: 2014/03/06 05:24:24;  author: akshat;  state: Exp;  lines: +1 -1
exit code defined.
—————————-
revision 1.16
date: 2014/03/06 05:14:24;  author: akshat;  state: Exp;  lines: +2 -3
wait call worked, child is under control of parent.
—————————-
revision 1.15
date: 2014/03/06 05:03:29;  author: akshat;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.14
date: 2014/03/06 04:58:20;  author: akshat;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2014/03/06 04:57:17;  author: akshat;  state: Exp;  lines: +1 -0
library sys/wait used.
—————————-
revision 1.12
date: 2014/03/06 04:51:06;  author: akshat;  state: Exp;  lines: +3 -2
pid_wait pauses the parent process until child process finishes executing.
pid_wait return pid of child process that is terminated.
it contains a pointer that points to the location where exit code is returned and stored.
—————————-
revision 1.11
date: 2014/03/06 04:44:25;  author: akshat;  state: Exp;  lines: +2 -2
zombie and orphan process should be avoided.
wait statement is used.
—————————-
revision 1.10
date: 2014/03/06 04:40:58;  author: akshat;  state: Exp;  lines: +1 -0
*** empty log message ***
—————————-
revision 1.9
date: 2014/03/06 04:39:50;  author: akshat;  state: Exp;  lines: +1 -1
sleep(1) for giving 1 sec delay.
—————————-
revision 1.8
date: 2014/03/06 04:39:26;  author: akshat;  state: Exp;  lines: +0 -1
*** empty log message ***
—————————-
revision 1.7
date: 2014/03/06 04:38:43;  author: akshat;  state: Exp;  lines: +2 -0
pause of 1 sec given.
—————————-
revision 1.6
date: 2014/03/06 04:31:39;  author: akshat;  state: Exp;  lines: +2 -2
Fork is used to provide duplicacy.
—————————-
revision 1.5
date: 2014/03/06 04:23:37;  author: akshat;  state: Exp;  lines: +1 -0
Zombie process is one in which child is terminated earlier.
Orphan process is one in which parent is terminated earlier. In orphan process child has no pa.
adopted by init1.
—————————-
revision 1.4
date: 2014/03/06 04:22:19;  author: akshat;  state: Exp;  lines: +4 -4
checking of zombie or orphan process.
—————————-
revision 1.3
date: 2014/03/06 04:21:26;  author: akshat;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.2
date: 2014/03/06 04:20:38;  author: akshat;  state: Exp;  lines: +1 -0
Lets see if its working.
—————————-
revision 1.1
date: 2014/03/06 04:19:57;  author: akshat;  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>