From owner-freebsd-questions Fri Aug 13 18: 2:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lvdi.net (Mta.lvdi.net [216.24.138.2]) by hub.freebsd.org (Postfix) with SMTP id E65B114ED0 for ; Fri, 13 Aug 1999 18:02:22 -0700 (PDT) (envelope-from notme@lvdi.net) Received: from lvdi.net ([216.24.141.210]) by lvdi.net ; Fri, 13 Aug 1999 17:57:25 2000 PDT Message-ID: <37B4C1F3.EB0FBE1B@lvdi.net> Date: Fri, 13 Aug 1999 18:10:11 -0700 From: notme Organization: me++ X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: question on fork() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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