Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

critical_section::try_lock Method

Tries to acquire the lock without blocking.

bool try_lock();

If the lock was acquired, the value true; otherwise, the value false.

Header: concrt.h

Namespace: concurrency

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.