共用方式為


mutex::native_handle Method (STL)

Returns the implementation-specific type that represents the mutex handle. The mutex handle can be used in implementation-specific ways.

native_handle_type native_handle();

Return Value

native_handle_type is defined as a Concurrency::critical_section * that's cast as void *.

Requirements

Header: mutex

Namespace: std

See Also

Reference

mutex Class (STL)

<mutex>