Hi,
  Im away to do a IOCP TCP application. I read that its recommended to only have the NumberOfConcurrentThread parameter within the CreateIOCompletionPort(..) to 0, informing the system to allow as many threads as there are processors in the system. Does this mean that I can only have same number of worker threads that are processors? Or does it mean that the operating system only creates itself, these number of threads to deal with the IOCP before the worker threads are passed the info.?
 
I am then going to create working threads to service the IOCP.  Within my application service routines, there will be database activities, so I was going to create 4 working threads, hopefully to get good throughput speed. Is this a feesable thing to do? or is it better to only have 1 worker thread per processor too?
 
Regards
Neil
_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to