octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47712] libmng no longer builds under mxe-octa


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #47712] libmng no longer builds under mxe-octave
Date: Fri, 22 Apr 2016 16:08:16 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Follow-up Comment #19, bug #47712 (project octave):

@Mike comment #17:
I do not think this is an OS or filesystem bug.

It's rather an issue that naturally follows from the way
multi-user/multitasking operating systems work: when writing a file followed
by reading from that same file a split second later *by different processes*
there simply cannot be any guarantee that the file already exists completely
in time for the reading process. The OS doesn't/cannot know that the writing
and reading process are spawned from one and the same shell script; so from
"its" POV there's no connection at all between the writing and reading
process, and as a consequence no need for it to finish the I/O operations in a
certain order.

It is obviously different if the file handle is owned by one and the same
process or if a pipe (one process) is active.

Thinking of it, would some sort of pipe be a safe solution?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47712>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]