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 |
|
article |
|
|
|
36cc2d86-cdb1-4b2b-a03c-c0d3818e7c6f |
4 |
corob-msft |
corob |
ghogen |
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.