Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!emory!kd4nc!n4hgf!wht From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Newsgroups: comp.unix.wizards Subject: Re: shmat() system call? Message-ID: <189@n4hgf.Mt-Park.GA.US> Date: 16 Aug 90 19:17:35 GMT References: <187@n4hgf.Mt-Park.GA.US> <12638@hydra.gatech.EDU> Reply-To: wht@n4hgf.UUCP (Warren Tucker) Organization: Amateur Radio Station N4HGF Lines: 16 In article <12638@hydra.gatech.EDU> gt0178a@prism.gatech.EDU (BURNS,JIM) writes: >in article <187@n4hgf.Mt-Park.GA.US>, wht@n4hgf.Mt-Park.GA.US (Warren Tucker) says: >< In article <27@astph.UUCP> jeff@astph.UUCP (8592x2) writes: >< To be sure, specify the attach address, regardless of what the FM says. >< Make a small program that passes 0 for the address and see what it >< returns. Then, use that value hardcoded, possibly #defined for each >< arcitecture you plan to run the program on. > >What if yours is not the only application creating and deleting shared >memory segments? Are you saying you always get the same address? Yes, in a virtual system where the shmat'd address is virtual. ----------------------------------------------------------------------- Warren Tucker, TuckerWare gatech!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US "Tell the moon; don't tell the March Hare: He is here. Do look around."