Article View: borland.public.cppbuilder.nativeapi
Article #3233WaitForMulipleObjects function
From: mauro russo
Date: Sun, 06 Aug 2006 17:43
Date: Sun, 06 Aug 2006 17:43
23 lines
1807 bytes
1807 bytes
Dear people, if i use the value FALSE for the bWaitAll parameter and more objects are signalled, i expect that the thread that called WaitForMultipleObjects acquires only one [that with the minimum index] of those objects. Is it like that? From the description in the Help (i opened it from the BCB 6 Update 4 IDE), nowhere is clearry written this feature. Really the sentence <If bWaitAll is FALSE, the return value minus WAIT_OBJECT_0 indicates the lpHandles array index of the object that satisfied the wait. If more than one object became signalled during the call, this is the array index of the signalled object with the smallest index value of all the signalled objects.> doesn't make me sure, when says "...of all the signalled objects". Of course it says only 'signalled' and not 'acquired', so can't be wrong. But i hope some of you can make me sure about my idea. Best Regards, Mauro.
Technical Details
Message-ID:
<44d62a4a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8747f5d210339525,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "mauro russo" <m.russo@uniplan.it> From: "mauro russo" <m.russo@uniplan.it> Newsgroups: borland.public.cppbuilder.nativeapi Subject: WaitForMulipleObjects function Date: Sun, 6 Aug 2006 19:43:08 +0200 Lines: 25 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: 217.20.0.176 Message-ID: <44d62a4a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1154886218 217.20.0.176 (6 Aug 2006 10:43:38 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail