🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Need help with Mutex

#2078
From: Bob Gonder
Date: Sun, 29 Apr 2007 16:19
14 lines
1587 bytes
JD wrote:

>>And your point is?
>
>That it's impossible to leak resources in this case because
>the OS cleans up.

When the program exits.
Until then, the application can use up all available handles and then
fail.. I think it would only take around 32 thousand lock cycles
before failure.

Adding another assured (but not intended) failure point in an attempt
to track down an existing failure, seems a bit odd don't you think?
Technical Details
Message-ID: <rmg933p40kj43q6ncn1jit6b5ikds7ks4s@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.com> <4634b554$1@newsgroups.borland.com> <62e933pksdsi46q91i5nhbektbvpt3ecem@4ax.com> <4634be1a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,28184df4065864d1
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Need help with Mutex
Date: Sun, 29 Apr 2007 09:19:52 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <rmg933p40kj43q6ncn1jit6b5ikds7ks4s@4ax.com>
References: <4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.com> <4634b554$1@newsgroups.borland.com> <62e933pksdsi46q91i5nhbektbvpt3ecem@4ax.com> <4634be1a$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.157
X-Trace: newsgroups.borland.com 1177863589 67.77.147.157 (29 Apr 2007 09:19:49 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail