MESSAGE
DATE | 2011-06-07 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] (fwd) Re: C++ File Lokcing
|
From owner-hangout-outgoing-at-mrbrklyn.com Tue Jun 7 14:56:07 2011 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix) id 957A3100B2C; Tue, 7 Jun 2011 14:56:05 -0400 (EDT) Delivered-To: hangout-outgoing-at-www2.mrbrklyn.com Received: by www2.mrbrklyn.com (Postfix, from userid 28) id 071F1100B75; Tue, 7 Jun 2011 14:56:04 -0400 (EDT) Delivered-To: hangout-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by www2.mrbrklyn.com (Postfix) with ESMTP id D85ED100B39 for ; Tue, 7 Jun 2011 14:55:59 -0400 (EDT) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id B0FFA329E6 for ; Tue, 7 Jun 2011 14:56:24 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 20529) id A45E833C5F; Tue, 7 Jun 2011 14:56:24 -0400 (EDT) From: Ruben Safir To: hangout-at-nylxs.com Subject: [NYLXS - HANGOUT] (fwd) Re: C++ File Lokcing User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (NetBSD/5.1 (i386)) Message-Id: <20110607185624.A45E833C5F-at-panix2.panix.com> Date: Tue, 7 Jun 2011 14:56:24 -0400 (EDT) Sender: owner-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
-- 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 --
|
|