Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 798 Bytes

crt-disable-perfcrit-locks.md

File metadata and controls

25 lines (18 loc) · 798 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: _CRT_DISABLE_PERFCRIT_LOCKS
_CRT_DISABLE_PERFCRIT_LOCKS
11/04/2016
_CRT_DISABLE_PERFCRIT_LOCKS
CRT_DISABLE_PERFCRIT_LOCKS constant
_CRT_DISABLE_PERFCRIT_LOCKS constant
36cc2d86-cdb1-4b2b-a03c-c0d3818e7c6f

_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