MESSAGE
DATE | 2011-06-07 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: C++ File Lokcing
|
-- forwarded message -- Path: reader1.panix.com!panix!not-for-mail From: ruben safir Newsgroups: comp.lang.c++ Subject: Re: C++ File Lokcing Date: Tue, 07 Jun 2011 11:54:12 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 19 Message-ID: References: <9559f9Fh2bU1-at-mid.individual.net> NNTP-Posting-Host: www2.mrbrklyn.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: reader1.panix.com 1307462053 10872 96.57.23.82 (7 Jun 2011 15:54:13 GMT) X-Complaints-To: abuse-at-panix.com NNTP-Posting-Date: Tue, 7 Jun 2011 15:54:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 In-Reply-To: Xref: panix comp.lang.c++:1086190
On 06/07/2011 02:33 AM, Stefan Ram wrote: > "osmium" writes: >> "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.) >
I have to do file locking on Linux. Do you have a recommendation?
Ruben -- end of forwarded message --
|
|