🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

CreateMutex/ReleaseMutex/CloseHandle Question

#16967
From: CC
Date: Thu, 17 Apr 2003 18:16
10 lines
1236 bytes
Greetings,
I was wondering is the proper way to close(release a mutex) is by calling
ReleaseMutex() immediately followed by CloseHandle(), supplying the mutex
handle argument?

It appears that ReleaseMutex() may not actaully free up resources associated
with the handle?

Thanks,
CurtC
Technical Details
Message-ID: <3e9eef46$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ba0a51417ad3c412,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-17 11:24:03 PST
From: "CC" <Xcurtc@tmscorp.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: CreateMutex/ReleaseMutex/CloseHandle Question
Date: Thu, 17 Apr 2003 13:16:12 -0500
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 208.254.250.201
Message-ID: <3e9eef46$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050603334 208.254.250.201 (17 Apr 2003 11:15:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail