From: Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de>
Subject: Re: Require help with msync() functionality in OpenVMS Cluster env.
Date: 2000/01/14 [thread overview]
Message-ID: <y4ya9sk9bg.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de> (raw)
In-Reply-To: 85l10d$7bu$1@nnrp1.deja.com
martin.schmidt@cam-comp.de writes:
> If I'm not wrong, in a one node system msync() is not necessary at all,
> to see changes from one process made by an other to the shared memeory
> (mapped file) ? Am I ?
You are correct. Remember you have to make sure that you actually read the
shared memory section, i.e., that the compiler doesn't optimize the memory
access away (for instance, declare variables volatile or some such).
> And is there a chance that the data is on disk after the msync() call
> has returned or a way to 'guarantee' this.
I'd say no way.
Jan
next prev parent reply other threads:[~2000-01-14 5:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-06 5:00 Require help with msync() functionality in OpenVMS Cluster env Simon Maslin
1999-12-07 5:00 ` Jan Vorbrueggen
1999-12-07 5:00 ` Simon Maslin
1999-12-18 5:00 ` Roger Tucker
1999-12-21 5:00 ` Hoff Hoffman
1999-12-23 5:00 ` Roger Tucker
1999-12-23 5:00 ` Jan Vorbrueggen
2000-01-13 5:00 ` martin.schmidt
2000-01-14 5:00 ` Jan Vorbrueggen [this message]
2000-01-21 5:00 ` Hoff Hoffman
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