Date: Fri, 13 Aug 1999 18:10:11 -0700 From: notme <notme@lvdi.net> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: question on fork() Message-ID: <37B4C1F3.EB0FBE1B@lvdi.net>
next in thread | raw e-mail | index | archive | help
Hi,
    I know this question is not exactly appropreate for
this list, but I have no where to turn to...
When using the funciton fork(), in a c program if the
child process happen to interact with a user, and it
happens that more than one user (all using different
child process) access one piece of data (i.e, say it
is a binary tree) and modifying it, will the piece of
data get update simultanously? (i.e, say both users
are adding a node, seperately to this tree, will this
tree have 2 nodes added to it?)  Or is it even possible
to do so?
Sorry for the convuluted idea, I just got started
programming C in UNIX not long ago...
Thank you in advance
Frankie
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B4C1F3.EB0FBE1B>
