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.

_CRTIMP 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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.