_CRT_DISABLE_PERFCRIT_LOCKS_CRT_DISABLE_PERFCRIT_LOCKS

在 I/O 操作中禁用性能关键锁定。Disables performance-critical locking in I/O operations.

语法Syntax

#define _CRT_DISABLE_PERFCRIT_LOCKS  

备注Remarks

定义此符号可通过强制所有 I/O 操作采用单线程 I/O 模型,来提高单线程 I/O 绑定程序的性能。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