G
Guest
A couple of questions...
Does the BeginInvoke call spawn a new managed thread, or does it use the
thread pool?
If I pass a delegate for a callback (which _is_ executed on the ThreadPool),
what happens if the thread pool overflows... say I get 30... 40.. or more
callbacks at once?
I'm writing a very threaded application to talk to about 80 hosts... over
TCP. Any advice in general?? I'd like as many simultaneous threads as
possible to get as much data as quickly as possible, but I'm unsure about how
many threads is too much... I don't want the context switching to become
unbearable overhead.
Thanks in advance...
Andrew
Does the BeginInvoke call spawn a new managed thread, or does it use the
thread pool?
If I pass a delegate for a callback (which _is_ executed on the ThreadPool),
what happens if the thread pool overflows... say I get 30... 40.. or more
callbacks at once?
I'm writing a very threaded application to talk to about 80 hosts... over
TCP. Any advice in general?? I'd like as many simultaneous threads as
possible to get as much data as quickly as possible, but I'm unsure about how
many threads is too much... I don't want the context switching to become
unbearable overhead.
Thanks in advance...
Andrew