Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Acquires this critical section.
_CRTIMP void lock();
Remarks
It is often safer to utilize the scoped_lock construct to acquire and release a critical_section object in an exception safe way.
If the lock is already held by the calling context, an improper_lock exception will be thrown.
Requirements
Header: concrt.h
Namespace: Concurrency