Udostępnij za pośrednictwem


critical_section::native_handle Method

Returns a platform specific native handle, if one exists.

_CRTIMP native_handle_type native_handle();

Return Value

A reference to the critical section.

Remarks

A critical_section object is not associated with a platform specific native handle for the Windows operating system. The method simply returns a reference to the object itself.

Requirements

Header: concrt.h

Namespace: Concurrency

See Also

Reference

critical_section Class