A
archana
Hi all,
I am not clear regarding waitone of manualresetevent.
I am invoking webrequest asynchronously with say 5 requests at a time.
What i am doing is after invoking request i am calling waitone and
allowing to wait for 2 mins.
And then doing some processing.
What i want to know is after calling waitone on thread if i havent'
reset my event, will it cause any problem.
Means here i am calling waitone with 2 mins to allow asychrnous web
request to complete.
But i can't wait indefinitely so i am calling waitone with 2 mins.
Is there anything wrong in this logic.
Please correct me if i am wrong.
Thanks in advance.
I am not clear regarding waitone of manualresetevent.
I am invoking webrequest asynchronously with say 5 requests at a time.
What i am doing is after invoking request i am calling waitone and
allowing to wait for 2 mins.
And then doing some processing.
What i want to know is after calling waitone on thread if i havent'
reset my event, will it cause any problem.
Means here i am calling waitone with 2 mins to allow asychrnous web
request to complete.
But i can't wait indefinitely so i am calling waitone with 2 mins.
Is there anything wrong in this logic.
Please correct me if i am wrong.
Thanks in advance.