From: neideck@kar.dec.com (Burkhard Neidecker-Lutz)
Subject: Re: vfork on Dec Alpha buggy?
Date: 1996/12/19 [thread overview]
Message-ID: <59b722$6k4@usenet.pa.dec.com> (raw)
In-Reply-To: E2M7CL.4q3@hermes.hrz.uni-bielefeld.de
In article <E2M7CL.4q3@hermes.hrz.uni-bielefeld.de> chammer@hrz.uni-bielefeld.de (Carsten Hammer) writes:
> < program modifying a global variable under vfork in a child and hoping
> to see the change in the parent deleted>
>For Reference look at Richard W. Stevens 'Advanced Programming in the Unix
>Environment'
You are relying on undefined (or rather, implementation defined) behaviour.
BSD derived systems (such as Ultrix and SUNOS 4.1.3) will yield 7 on
your program, while machines with proper copy-on-write semantics even on
vfork will yield 6 (such as Digital Unix and Linux).
Burkhard Neidecker-Lutz
CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp.
email: neideck@kar.dec.com
433Mhz 21164, 64 MB RAM, 2.1 GB SCSI, SPEC95 12.6e/12.0e, Linux preinstalled
Just $4630,, See http://www.swt.com/alpha_linux for details
next prev parent reply other threads:[~1996-12-19 5:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-18 5:00 vfork on Dec Alpha buggy? Carsten Hammer
1996-12-18 5:00 ` Ron Natalie
1996-12-18 5:00 ` Pierre Asselin
1996-12-19 5:00 ` Ron Natalie
1996-12-19 5:00 ` T. Horsnell (tsh)
1996-12-19 5:00 ` Burkhard Neidecker-Lutz [this message]
1996-12-21 5:00 ` Linus Torvalds
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox