Click to See Complete Forum and Search --> : Use of Win32 semaphore


bug_crusher
March 27th, 2002, 03:31 PM
Hello,

Is it possible to use a semaphore to prevent a single thread from recursing infinitely ? I am handling a notification message, and unfortunately my handler causes the notification to be Sent again on some machines. I need to find a way to know that I am already handling that message so that I can ignore it when it comes in again. Can this be done?

Thanks

myron
October 18th, 2005, 12:08 AM
The answer should be yes.

Marc G
October 18th, 2005, 03:00 AM
[ moved thread ]