Click here to Skip to main content
15,917,709 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text Changed Event Pin
Not Active12-Nov-09 5:23
mentorNot Active12-Nov-09 5:23 
GeneralRe: Text Changed Event Pin
Not Active12-Nov-09 5:28
mentorNot Active12-Nov-09 5:28 
GeneralRe: Text Changed Event Pin
Covean12-Nov-09 22:13
Covean12-Nov-09 22:13 
GeneralRe: Text Changed Event Pin
Not Active13-Nov-09 1:55
mentorNot Active13-Nov-09 1:55 
GeneralRe: Text Changed Event Pin
Covean13-Nov-09 2:37
Covean13-Nov-09 2:37 
QuestionSetting DirectShow Filter properties for non DMO filter in code (no GUI). Pin
RobstaHendricks12-Nov-09 2:40
RobstaHendricks12-Nov-09 2:40 
AnswerRe: Setting DirectShow Filter properties for non DMO filter in code (no GUI). Pin
Eduard Keilholz12-Nov-09 4:30
Eduard Keilholz12-Nov-09 4:30 
GeneralRe: Setting DirectShow Filter properties for non DMO filter in code (no GUI). Pin
RobstaHendricks12-Nov-09 4:59
RobstaHendricks12-Nov-09 4:59 
GeneralRe: Setting DirectShow Filter properties for non DMO filter in code (no GUI). Pin
Eduard Keilholz13-Nov-09 11:39
Eduard Keilholz13-Nov-09 11:39 
GeneralRe: Setting DirectShow Filter properties for non DMO filter in code (no GUI). Pin
RobstaHendricks15-Nov-09 22:45
RobstaHendricks15-Nov-09 22:45 
QuestionHow to get painted image from picturebox [modified] Pin
Vishwanath Patil12-Nov-09 0:41
Vishwanath Patil12-Nov-09 0:41 
AnswerMessage Closed Pin
12-Nov-09 2:25
stancrm12-Nov-09 2:25 
GeneralRe: How to get painted image from picturebox Pin
Vishwanath Patil12-Nov-09 2:37
Vishwanath Patil12-Nov-09 2:37 
AnswerRe: How to get painted image from picturebox Pin
Dave Kreskowiak12-Nov-09 4:23
mveDave Kreskowiak12-Nov-09 4:23 
GeneralRe: How to get painted image from picturebox Pin
Vishwanath Patil12-Nov-09 18:04
Vishwanath Patil12-Nov-09 18:04 
GeneralRe: How to get painted image from picturebox Pin
Dave Kreskowiak13-Nov-09 15:15
mveDave Kreskowiak13-Nov-09 15:15 
QuestionThreaded Proxy? Pin
joana.simoes12-Nov-09 0:40
joana.simoes12-Nov-09 0:40 
AnswerRe: Threaded Proxy? Pin
Covean12-Nov-09 2:08
Covean12-Nov-09 2:08 
GeneralRe: Threaded Proxy? Pin
Luc Pattyn12-Nov-09 2:23
sitebuilderLuc Pattyn12-Nov-09 2:23 
GeneralRe: Threaded Proxy? Pin
Covean12-Nov-09 2:47
Covean12-Nov-09 2:47 
AnswerRe: Threaded Proxy? Pin
Luc Pattyn12-Nov-09 2:22
sitebuilderLuc Pattyn12-Nov-09 2:22 
Hi,

I think your problem is in using the ThreadPool.

The TP holds a large number of threads, and has a queue into which you can insert jobs. Now those jobs get executed by some number of TP threads; however that number does not equal the number of available jobs: it starts of at a few only, and will grow and shrink using a complex algorithm. In one of my experiments I noted it only grows at a rate of 2 per second. Therefore your jobs will queue up and wait on others to finish first, which is not what a normal server does (it either accepts the job or refuses it, but never postpones it).

So IMO you should use either real Threads or (more unlikely to succeed) use asynchronous operations. BackgroundWorkers would not help as they run on the TP as well.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: Threaded Proxy? Pin
joana.simoes13-Nov-09 5:22
joana.simoes13-Nov-09 5:22 
QuestionPDF conversion Pin
Santhosh Sebastian Mattathil11-Nov-09 23:34
Santhosh Sebastian Mattathil11-Nov-09 23:34 
QuestionShowing non 96dpi jpegs in PictureBox Pin
Chesnokov Yuriy11-Nov-09 23:00
professionalChesnokov Yuriy11-Nov-09 23:00 
AnswerRe: Showing non 96dpi jpegs in PictureBox Pin
Eduard Keilholz11-Nov-09 23:03
Eduard Keilholz11-Nov-09 23:03 

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.