Article View: borland.public.cppbuilder.nativeapi
Article #2074Re: Need help with Mutex
From: JD
Date: Sun, 29 Apr 2007 15:10
Date: Sun, 29 Apr 2007 15:10
14 lines
1304 bytes
1304 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote:
>
> [...] which you don't use CloseHandle on, so are leaking
> resources
From win32.hlp CreateMutex:
Use the CloseHandle function to close the handle. The
system closes the handle automatically when the process
terminates. The mutex object is destroyed when its last
handle has been closed.
~ JD
Technical Details
Message-ID:
<4634b554$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.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: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: Need help with Mutex Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.144 X-Forwarded-For: 172.129.225.155 References: <4633777f$1@newsgroups.borland.com> <aev6339dmkoh5ih93feqeofs77v59f6iic@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4634b554$1@newsgroups.borland.com> Date: 29 Apr 2007 08:10:12 -0700 X-Trace: newsgroups.borland.com 1177859412 207.105.83.66 (29 Apr 2007 08:10:12 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail