IUMSThreadProxy::GetCriticalRegionType Method

Returns what kind of critical region the thread proxy is within. Because hyper-critical regions are a superset of critical regions, if code has entered a critical region and then a hyper-critical region, InsideHyperCriticalRegion will be returned.

virtual CriticalRegionType GetCriticalRegionType() const =0;

Return Value

The type of critical region the thread proxy is within.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IUMSThreadProxy Structure

CriticalRegionType Enumeration