Article View: borland.public.cppbuilder.nativeapi
Article #15118Re: Mutex and WaitForSingleObject Problem...
From: Remy Lebeau (TeamB)
Date: Wed, 16 Jul 2003 03:49
Date: Wed, 16 Jul 2003 03:49
13 lines
1596 bytes
1596 bytes
"Colin Maharaj" <cbm@cablenett.net> wrote in message news:3F14B95B.B2206E4A@cablenett.net... > Yeah but if I lock the file in the producer code, the > consumer would probably try to open and get an error. There are potentials for errors no matter what you do. What happens if you get an error acessing the mutex? What happens if you get the mutex but still can't open the file anyway? You have to think about things like that. Gambit
Technical Details
Message-ID:
<3f14ca12$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3F135784.B6BE9C00@cablenett.net> <3f136552$1@newsgroups.borland.com> <3F13D446.FE380393@cablenett.net> <3f143c01$1@newsgroups.borland.com> <3F14B95B.B2206E4A@cablenett.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4b66d79a94ed9589 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-15 20:56:17 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3F135784.B6BE9C00@cablenett.net> <3f136552$1@newsgroups.borland.com> <3F13D446.FE380393@cablenett.net> <3f143c01$1@newsgroups.borland.com> <3F14B95B.B2206E4A@cablenett.net> Subject: Re: Mutex and WaitForSingleObject Problem... Date: Tue, 15 Jul 2003 20:49:33 -0700 Lines: 15 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.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f14ca12$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058327058 207.175.226.26 (15 Jul 2003 20:44:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail