Click here to Skip to main content
15,896,522 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS2005 - MessageQueue Namespace Pin
Craig G Fraser9-Nov-05 1:13
Craig G Fraser9-Nov-05 1:13 
QuestionHow to input a IP address on winform? Pin
rushing7-Nov-05 22:30
rushing7-Nov-05 22:30 
AnswerRe: How to input a IP address on winform? Pin
g00fyman7-Nov-05 22:43
g00fyman7-Nov-05 22:43 
QuestionStartUp Windows Pin
TAREQ F ABUZUHRI7-Nov-05 21:59
TAREQ F ABUZUHRI7-Nov-05 21:59 
AnswerRe: StartUp Windows Pin
FriendlyFiend7-Nov-05 22:11
FriendlyFiend7-Nov-05 22:11 
QuestionGroup similar taskbar buttons in the Taskbar doesn't work ( C# solution ) ? Pin
gicio7-Nov-05 21:24
gicio7-Nov-05 21:24 
AnswerRe: Group similar taskbar buttons in the Taskbar doesn't work ( C# solution ) ? Pin
FriendlyFiend7-Nov-05 22:15
FriendlyFiend7-Nov-05 22:15 
QuestionWhich Better Thread or ThreadPool Pin
Rashid.Mahmood7-Nov-05 20:44
Rashid.Mahmood7-Nov-05 20:44 
Hi all,

I m doing work on application like remote desktop.
I have made a server and client.

Server Description:
server first listen for client request. Upon receiving client request
server Starts a thread using ThreadStart and delegates a function that
handling all the things like capturing desktop image, break that image
into parts, calculating checksum for updated parts, saving image into
Networkstream and sending updated region to client. I m doing all the
work in one thread function.

Problem: I m facing problem of CPU usage. Currently My CPU usage on
server side is 45 to 60% thats not acceptable. I think that CPU
usage is due to the poor threading. Someone suggest me to use
threadpool but threadpool is usefull for short time threads.

Can someone suggest me how can i improve CPU usage and application
performance.

Is there any effect by increasing the number of threads?
Keeping in mind that it is real time application.

Tahnx for ur suggestions
AnswerRe: Which Better Thread or ThreadPool Pin
Heath Stewart7-Nov-05 21:07
protectorHeath Stewart7-Nov-05 21:07 
GeneralRe: Which Better Thread or ThreadPool Pin
Rashid.Mahmood7-Nov-05 22:03
Rashid.Mahmood7-Nov-05 22:03 
AnswerRe: Which Better Thread or ThreadPool Pin
FriendlyFiend7-Nov-05 22:27
FriendlyFiend7-Nov-05 22:27 
GeneralRe: Which Better Thread or ThreadPool Pin
Rashid.Mahmood7-Nov-05 23:05
Rashid.Mahmood7-Nov-05 23:05 
QuestionGood tools to find dead C# code... Pin
Salil Khedkar7-Nov-05 20:38
Salil Khedkar7-Nov-05 20:38 
AnswerRe: Good tools to find dead C# code... Pin
Heath Stewart7-Nov-05 21:11
protectorHeath Stewart7-Nov-05 21:11 
AnswerRe: Good tools to find dead C# code... Pin
FriendlyFiend7-Nov-05 22:05
FriendlyFiend7-Nov-05 22:05 
AnswerRe: Good tools to find dead C# code... Pin
André Ziegler8-Nov-05 2:14
André Ziegler8-Nov-05 2:14 
QuestionChanging font of tab page Pin
User 5838527-Nov-05 19:06
User 5838527-Nov-05 19:06 
AnswerRe: Changing font of tab page Pin
Heath Stewart7-Nov-05 20:13
protectorHeath Stewart7-Nov-05 20:13 
GeneralRe: Changing font of tab page Pin
leppie8-Nov-05 1:38
leppie8-Nov-05 1:38 
JokeRe: Changing font of tab page Pin
Heath Stewart8-Nov-05 6:44
protectorHeath Stewart8-Nov-05 6:44 
GeneralRe: Changing font of tab page Pin
leppie8-Nov-05 7:40
leppie8-Nov-05 7:40 
Questionhow to remove flickering Pin
amit556507-Nov-05 18:48
amit556507-Nov-05 18:48 
AnswerRe: how to remove flickering Pin
Jon Rista8-Nov-05 9:37
Jon Rista8-Nov-05 9:37 
Questionhow to hide treeview node??? Pin
ashion7-Nov-05 18:21
ashion7-Nov-05 18:21 
AnswerRe: how to hide treeview node??? Pin
azazel007-Nov-05 19:04
azazel007-Nov-05 19:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.