Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructs a scoped_lock object and acquires the critical_section object passed in the _Critical_section parameter. If the critical section is held by another thread, this call will block.
explicit _CRTIMP scoped_lock(
critical_section& _Critical_section
);
Parameters
- _Critical_section
The critical section to lock.
Requirements
Header: concrt.h
Namespace: concurrency