Article View: borland.public.cppbuilder.nativeapi
Article #2207File Creation and contention
From: John Grabner
Date: Fri, 23 Mar 2007 05:15
Date: Fri, 23 Mar 2007 05:15
5 lines
1056 bytes
1056 bytes
I need to create a log file. There may be several process that want to write to the log file. When creating the log file how do I make sure that only one process creates the file? John.
Technical Details
Message-ID:
<4603628f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5d20743a8be4a735,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 23 Mar 2007 17:15:36 +1200 From: John Grabner <grabnerj@ihug.co.nz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: File Creation and contention Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 203.173.151.173 Message-ID: <4603628f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1174626959 203.173.151.173 (22 Mar 2007 22:15:59 -0800) Lines: 5 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail