"v patel" <vipul.pa...@intel.com> wrote in message <news:TG8ca.email@example.com>...No.
> - Does this kernel object adjusts reference count to reflect abandonment by
> one of the processes
Closing a handle and changing the reference count are two different
You might imagine a situation where there is a system-wide semaphore
So you can see that it would be conceptually inappropriate for the OS
Another way to look at it is to imagine that a process incremented a
> - If above is not true, is there any other mechanism to handle "AbandonmentA good solution to this problem is C++ exception handling. Structure
> Issue" without relying on
> some sort of process monitoring service etc..
your code so that if a hard exit occurs, the semaphore objects
automatically adjust reference count as necessary.
Dunno. Your best bet is probabably to ask one of the kernel people.
> - Is there any way to get the current available count without
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.