🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WaitForMulipleObjects function

#3244
From: Remy Lebeau (TeamB)
Date: Mon, 07 Aug 2006 18:00
22 lines
1702 bytes
"mauro russo" <m.russo@uniplan.it> wrote in message
news:44d62a4a$1@newsgroups.borland.com...

> 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?

Yes, that is exactly what it does.  You would have to call a WaitFor...()
function again to acquire the other objects separately.

> doesn't make me sure, when says "...of all the signalled objects".
> Of course it says only 'signalled' and not 'acquired'

It is all the same thing as far as the waiting functions are concerned.
Some objects produce signals internally, and some acquire locks internally.
Don't worry about it too much.


Gambit
Technical Details
Message-ID: <44d7801a$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44d62a4a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8747f5d210339525
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44d62a4a$1@newsgroups.borland.com>
Subject: Re: WaitForMulipleObjects function
Date: Mon, 7 Aug 2006 11:00:34 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <44d7801a$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154973722 68.69.17.41 (7 Aug 2006 11:02:02 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail