🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13436

Re: Multiple Threads & One Text File

#13436
From: Josh Kirkpatrick
Date: Sun, 12 Oct 2003 15:37
8 lines
1274 bytes
> Even better, you can wrap the file access into a singleton class, that way
> the file is only being accessed directly by a single object and only 1
> instance of that object is allowed to be created.  The object can then
> handle the sychronizing internally.

Thank you, Rob and Remy!  I'll give this method a shot.

~Josh
Technical Details
Message-ID: <3f897545@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f88f22a@newsgroups.borland.com> <3f890078$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2cf03e35cbac1db7
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-12 08:39:06 PST
From: "Josh Kirkpatrick" <jkirkpat@softhome.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f88f22a@newsgroups.borland.com> <3f890078$1@newsgroups.borland.com>
Subject: Re: Multiple Threads & One Text File
Date: Sun, 12 Oct 2003 11:37:55 -0400
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 68.114.164.56
Message-ID: <3f897545@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065973061 68.114.164.56 (12 Oct 2003 08:37:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail