A
archana
hi all,
I am doing asynchronous programming. At a time i am creating 4-5
ansynchronous request.
After creating asynchronous call, i have use waitany to check if any
of request is completed or not. And then i need to start next thread
after this request completed.
I read on net about waitAny, that if two aysnchonous request completed
then waitany give lower index from waithandle array. How will i know
what all requests are completed using waitany.
Also i need to loop until all request are completed using waitany.
Based on which condition i can do looping for waitany?
Any help will be truely appreciated.
Thanks in advance.
I am doing asynchronous programming. At a time i am creating 4-5
ansynchronous request.
After creating asynchronous call, i have use waitany to check if any
of request is completed or not. And then i need to start next thread
after this request completed.
I read on net about waitAny, that if two aysnchonous request completed
then waitany give lower index from waithandle array. How will i know
what all requests are completed using waitany.
Also i need to loop until all request are completed using waitany.
Based on which condition i can do looping for waitany?
Any help will be truely appreciated.
Thanks in advance.