469,568 Members | 1,401 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

Threading related question.

Hi all,

I have some confusion related to threading and autoresetevent.

I have 5 threads running for each i have autoresetevent which i am
setting through thread procedure.

On each of event i am calling waitone as i can't call
waithandle.Waitall as i am using STA.

My question is when i am calling waitone for first event will it affect
other event.

And when i am waiting for first thread to complete and if out of other
4 either of them gets completed and signaled then after calling waitone
for completed thread what will happen.

Please clear my doubts related to eventing.

Any help will be truely appreciated.

thanks in advance.

Mar 8 '06 #1
0 1084

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Lane LiaBraaten | last post: by
8 posts views Thread by Michael Culley | last post: by
2 posts views Thread by Tyson Ackland | last post: by
2 posts views Thread by archana | last post: by
6 posts views Thread by Yuk Tang | last post: by
2 posts views Thread by Juuso Hukkanen | last post: by
8 posts views Thread by WhiteWizard | last post: by
4 posts views Thread by Bryan | last post: by
14 posts views Thread by Akihiro KAYAMA | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.