Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to exit WaitForSingleObject?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00844020
Message ID:
00845981
Views:
15
Hey Rick,

Thanks for the warning about WaitHandles ... I'll be sure to stock up on Tylenol before I try messing with them. <g>

Rodd

>>Thank you all for your input! The little bits of advice have added up to give me a workable solution. I'm still intreagued about the WaitForMutltipleObjects() API function but that will have to be for some other time.
>
>WaitForMultipleObjects() is meant for things like waiting for threads to complete. For example, say you start processing a couple of threads and you need to aventually wait for all the work to be done - you can do that with a single WaitForMultipleObjects which receives an array of wait handles...
>
>WaitHandles have always been kind of funky and they give me a headache when I have to code them - I always think that handles have it backwards with being signaled and waiting <g>...
>
>Very useful stuff though especially when you're working with multiple threads...
>
>+++ Rick ---
>
>
>
>>
>>I sure appreciate you all taking the time to add your comments.
Previous
Reply
Map
View

Click here to load this message in the networking platform