[so] WaitForMultipleObjects

George Ciobanu so@atlantis.cs.pub.ro
Sun, 7 Dec 2003 00:53:01 -0800 (PST)


--0-1279254571-1070787181=:8552
Content-Type: text/plain; charset=us-ascii

Intrucat la cele de tip se cere folosirea APC-urilor este obligatoriu sa folosesti una din functiile de asteptare alertabile (printre care si WaitForSingleObjectEx). Oricum, in acest caz vei folosi pt citire/scriere ReadFileEx/WriteFileEx (APC-ul este de tip FileIOCompletionRoutine)

Ioana Cutcutache <ioana_c@idilis.ro> wrote: La firele de tip a nu se poate folosi WaitForSingleObjectEx? 
----- Original Message ----- 
From: George Ciobanu 
To: so@atlantis.cs.pub.ro 
Sent: Sunday, December 07, 2003 9:52 AM
Subject: Re: [so] WaitForMultipleObjects


E obligatorie folosirea functiei WaitForMultipleObjects, sau WaitForMultipleObjectsEx

Mihai Iancu <mail2mihai@yahoo.com> wrote: Stie cineva din discutiile anterioare daca pe windows pt notificarea
terminarii unei operatii trebuie sa folosim WaitForMultipleObjects obligatoriu
pt threaduri de tip b? sau e posibil si cu WaitForSIngleObject pt un semnal,
caci WaitForMO are limita de handles
 
 

Mihai Iancu <mail2mihai@yahoo.com> wrote:

WaitForMultipleObject are limita la handles de MAXIMUM_WAIT_OBJECTS.

Consideram ca in caz de mai mult de MAXIMUM_WAIT_OBJECT requesturi atribuite

unui thread dam raspuns de too busy sau gasim o alternativa?


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
--0-1279254571-1070787181=:8552
Content-Type: text/html; charset=us-ascii

<DIV>Intrucat la cele de tip se cere folosirea APC-urilor este obligatoriu sa folosesti una din functiile de asteptare alertabile (printre care si WaitForSingleObjectEx). Oricum, in acest caz vei folosi pt citire/scriere ReadFileEx/WriteFileEx (APC-ul este de tip FileIOCompletionRoutine)<BR><BR><B><I>Ioana Cutcutache &lt;ioana_c@idilis.ro&gt;</I></B> wrote: 
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>

<DIV><FONT face=Arial size=2>La firele de tip a nu se poate folosi WaitForSingleObjectEx? </FONT></DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=cdangeorge@yahoo.com href="mailto:cdangeorge@yahoo.com">George Ciobanu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=so@atlantis.cs.pub.ro href="mailto:so@atlantis.cs.pub.ro">so@atlantis.cs.pub.ro</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, December 07, 2003 9:52 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [so] WaitForMultipleObjects</DIV>
<DIV><BR></DIV>
<DIV>E obligatorie folosirea functiei WaitForMultipleObjects, sau WaitForMultipleObjectsEx<BR><BR><B><I>Mihai Iancu &lt;<A href="mailto:mail2mihai@yahoo.com">mail2mihai@yahoo.com</A>&gt;</I></B> wrote: 
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Stie cineva din discutiile anterioare daca pe windows pt notificarea</DIV>
<DIV>terminarii unei operatii trebuie sa folosim WaitForMultipleObjects <STRONG>obligatoriu</STRONG></DIV>
<DIV>pt threaduri de tip <STRONG>b</STRONG>? sau e posibil si cu WaitForSIngleObject pt un semnal,</DIV>
<DIV>caci WaitForMO are limita de handles</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><B><I>Mihai Iancu &lt;mail2mihai@yahoo.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>WaitForMultipleObject are limita la handles de MAXIMUM_WAIT_OBJECTS.</P>
<P>Consideram ca in caz de mai mult de MAXIMUM_WAIT_OBJECT requesturi atribuite</P>
<P>unui thread dam raspuns de too busy sau gasim o alternativa?</P>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with Yahoo! Mail AddressGuard</A></BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with Yahoo! Mail AddressGuard</A></BLOCKQUOTE></DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.com">New Yahoo! Photos - easier uploading and sharing</A></BLOCKQUOTE></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo.com">New Yahoo! Photos - easier uploading and sharing</a>
--0-1279254571-1070787181=:8552--