_CRT_DISABLE_PERFCRIT_LOCKS

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _CRT_DISABLE_PERFCRIT_LOCKS.

Disables performance-critical locking in I/O operations.

#define _CRT_DISABLE_PERFCRIT_LOCKS  

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.

Global Constants

Show: