Re: Threads very slow
- From: "PH" <nospam@xxxxxxxxxx>
- Date: Tue, 7 Mar 2006 14:35:20 -0500
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.
.
- Follow-Ups:
- Re: Threads very slow
- From: John Murray
- Re: Threads very slow
- References:
- Re: Threads very slow
- From: John Murray
- Re: Threads very slow
- Prev by Date: Re: Visual Studio 2005
- Next by Date: Re: String to Byte? Convert.ToByte(textbox1.text)
- Previous by thread: Re: Threads very slow
- Next by thread: Re: Threads very slow
- Index(es):
Relevant Pages
|