From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,260d88b0692fc907 X-Google-Attributes: gid1164f8,public From: neideck@kar.dec.com (Burkhard Neidecker-Lutz) Subject: Re: vfork on Dec Alpha buggy? Date: 1996/12/19 Message-ID: <59b722$6k4@usenet.pa.dec.com>#1/1 X-Deja-AN: 204905363 references: organization: CEC Karlsruhe newsgroups: comp.sys.dec In article 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