Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.04 KB

crt-disable-perfcrit-locks.md

File metadata and controls

32 lines (28 loc) · 1.04 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
_CRT_DISABLE_PERFCRIT_LOCKS | Microsoft Docs
11/04/2016
cpp-standard-libraries
article
_CRT_DISABLE_PERFCRIT_LOCKS
CRT_DISABLE_PERFCRIT_LOCKS
C++
CRT_DISABLE_PERFCRIT_LOCKS constant
_CRT_DISABLE_PERFCRIT_LOCKS constant
36cc2d86-cdb1-4b2b-a03c-c0d3818e7c6f
4
corob-msft
corob
ghogen

_CRT_DISABLE_PERFCRIT_LOCKS

Disables performance-critical locking in I/O operations.

Syntax

#define _CRT_DISABLE_PERFCRIT_LOCKS  

Remarks

Defining this symbol can improve performance in single-threaded I/O-bound programs by forcing all I/O operations to assume a single-threaded I/O model. For more information, see Multithreaded Libraries Performance.

See Also

Global Constants