Hey all,
I've been looking through the microsoft examples of asynchronous socket clients:
When you set waitOne() on a manual reset event, it haults the current thread until the reset event is fired from the aynschronous callback right?
So why bother using asynchronous methods if you are halting threads until they finish anyway? Isn't that the whole point of asynchronous methods, so they don't lock up the application while executing?
Matt.
I've been looking through the microsoft examples of asynchronous socket clients:
When you set waitOne() on a manual reset event, it haults the current thread until the reset event is fired from the aynschronous callback right?
So why bother using asynchronous methods if you are halting threads until they finish anyway? Isn't that the whole point of asynchronous methods, so they don't lock up the application while executing?
Matt.