|
find number of threads waiting on a resource? Hi,
Is there any way to know the number of threads waiting for a resource.
Suppose we have code like
lock(resource)
{
//...
}
Within the critical area I'd perform some logic that kind of
invalidates the reason other threads should execute the critical
region itself. Is this possible?
--deostroll |