|FROM ||Ruben Safir
|SUBJECT ||Subject: [NYLXS - HANGOUT] (fwd) Re: C++ File Lokcing
|-- forwarded message --
From: ram-at-zedat.fu-berlin.de (Stefan Ram)
Subject: Re: C++ File Lokcing
Date: 7 Jun 2011 06:33:20 GMT
Organization: Stefan Ram
Expires: 1 Sep 2011 11:59:58 GMT
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: news.uni-berlin.de 1+YOFlDCcdABCK3+8ZBEkAB4DN/oldLHO7lJ0VvJ5PkkrI
X-Copyright: (C) Copyright 2011 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the world wide web. It is forbidden to change
URIs of this article into links. It is forbidden to remove
this notice or to transfer the body without this notice.
X-No-Archive-Readme: "X-No-Archive" is only set, because this prevents some
services to mirror the article via the web (HTTP). But Stefan Ram
hereby allows to keep this article within a Usenet archive server
with only NNTP access without any time limitation.
Xref: panix comp.lang.c++:1086162
>"ruben safir" wrote:
>>Is there a C++ specific means of file locking?
>No. File locking is provided by the operating system, not an ordinary user
>program, which is what a C++ compiler produces.
This must be the correct answer, because Linus Torvalds also
says that a C++ compiler cannot produce an operating system!
(The real reason is - of coures - just that the C++ standard
library does not provide this feature, but this might change
in the future.)
-- end of forwarded message --