Re: Threads very slow




Hi John, could you please be a little more specific?
Like with any example or a way to improve the code?

Are you talking about application.doevents() ?

Thanks


-----Original Message-----
From: John Murray [mailto:jmurray@xxxxxxxxx]
Posted At: Tuesday, March 07, 2006 12:38 PM
Posted To: microsoft.public.dotnet.languages.csharp
Conversation: Threads very slow
Subject: Re: Threads very slow

Not to mention you have both those threads running full throttle without

yielding processor time when there is no work to do ... of course it's
going to consume your cycles.... but then that would only apply if you
are using Recieve vs. BeginReceive ..

John


Andy wrote:
BeginAccept shouldn't be in a loop.

Call it once. Then when the connection occurs, your method will be
called to handle the connection event.

To receive a packet, use Recieve or BeginReceive.


.



Relevant Pages

  • Re: Front Row @ Boogie Available
    ... Hi John, ... I am the #2 person on this "chain"...I AM interested in the ticket, ... I didn't recieve a reply directly form ... Prev by Date: ...
    (rec.arts.dance)
  • Re: Threads very slow
    ... Not to mention you have both those threads running full throttle without yielding processor time when there is no work to do ... ... called to handle the connection event. ... To receive a packet, use Recieve or BeginReceive. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: NAV corrupted OE6/Windows XP?
    ... Bette wrote: ... > John I am having the same problem with Out Look Express. ... I recieve ... MS MVP - Windows (IE/OE) ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: NAV corrupted OE6/Windows XP?
    ... Kath Adams wrote: ... > Bette wrote: ... >> John I am having the same problem with Out Look Express. ... I recieve ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Baptism of Joseph Smith and Oliver Cowdery
    ... I have often asked the same question about John the Baptist. ... filled with the spirit before they had a chance to recieve it? ... why did JS & OC give each other the Preisthood in the next verse? ... Prev by Date: ...
    (soc.religion.mormon)