From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,707ba86df1f88f16 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,707ba86df1f88f16 X-Google-Attributes: gid1164f8,public From: Jan Vorbrueggen Subject: Re: Require help with msync() functionality in OpenVMS Cluster env. Date: 2000/01/14 Message-ID: #1/1 X-Deja-AN: 572576621 References: <82goqs$lti@news.go.dlr.de> <385A6F18.277AE9D2@mci.com> <83p18s$lf2$1@mailint03.im.hou.compaq.com> <386114C9.7DA49293@mci.com> <85l10d$7bu$1@nnrp1.deja.com> X-Trace: sunu789.rz.ruhr-uni-bochum.de 947860678 29151 134.147.176.178 (14 Jan 2000 14:37:58 GMT) Organization: Institut fuer Neuroinformatik, Ruhr-Universitaet Bochum, Germany NNTP-Posting-Date: 14 Jan 2000 14:37:58 GMT Newsgroups: comp.os.vms,comp.sys.dec 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