From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a3ae14aeae49226 X-Google-Attributes: gidfee84,public From: Aurel Balmosan Subject: Re: mutex between processes? Date: 1998/08/07 Message-ID: <35CAC907.497400F4@orga.com>#1/1 X-Deja-AN: 378801152 X-Nntp-Posting-Host: 194.122.136.143 Content-Transfer-Encoding: 7bit Sender: news@orga.com (News Administrator) References: <35C85511.E31EBB9E@brighttiger.com> Content-Type: text/plain; charset=us-ascii Organization: ORGA Kartensysteme GmbH Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Dirk Grunwald wrote: > But, in a 'mmap' region, you can also use the native spinlock/critical > section mechanisms. These will differ from machine to machine. > Does it work also on shared memory (I would guess so)And what about DEC-Alpha with lets say 12 processors? > /* might not be needed, ya never know and > you're not doing much else right now anyway.. */ > __MB(); > What is that? What does a Memory Barrier do and why is it needed? Bye, Aurel. -- Aurel Balmosan | Department SE-SW ORGA Kartensysteme GmbH | phone: +49 5254 991 824 An der Kapelle 2 | fax : +49 5254 991 749 33104 Paderborn, Germany | mailto:ab@orga.com