- Win32API質問箱 Build121 [転載禁止]©2ch.net
618 :デフォルトの名無しさん[sage]:2015/11/21(土) 05:24:33.16 ID:TBiDBsF1 - /MLなんてかなり昔に廃止されてないか?
MSDNに残ってる最古の2005でさえ、 The single-threaded CRT is no longer available. と、書かれてたので使おうとすら思わなかったわ。 その記事の中に↓とも書かれている。今回のケースでは有効そうだが。 Defining _CRT_DISABLE_PERFCRIT_LOCKS forces all I/O operations to assume a single-threaded I/O model and use the _nolock forms of the functions.This allows highly I/O-based single-threaded applications to get better performance. Exposure of the CRT heap handle allows you to enable the Windows Low Fragmentation Heap (LFH) for the CRT heap, which can substantially improve performance in highly scaled scenarios.
|
- Win32API質問箱 Build121 [転載禁止]©2ch.net
619 :デフォルトの名無しさん[sage]:2015/11/21(土) 05:36:41.11 ID:TBiDBsF1 - ちなみに
/MP (Build with Multiple Processes) なので、マルチスレッドでなくてマルチプロセスな。 コンパイルをマルチプロセスで高速化するのはMITのpmakeが最初で、pmakrのオプション-jはいろんなmakeに取り入れられてる。 googleによると1970年代から存在する。
|
- Win32API質問箱 Build121 [転載禁止]©2ch.net
630 :デフォルトの名無しさん[sage]:2015/11/21(土) 17:32:41.77 ID:TBiDBsF1 - >>622
| Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 って、VisualStudioのバージョンは幾つだよ? VS6位? 動体保存されてるとはビックリだよ。 VS2013は C:\>cl -? |findstr /C:/M Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86 Copyright (C) Microsoft Corporation. All rights reserved. /MP[n] use up to 'n' processes for compilation /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib
|
- Win32API質問箱 Build121 [転載禁止]©2ch.net
638 :デフォルトの名無しさん[sage]:2015/11/21(土) 22:31:22.02 ID:TBiDBsF1 - >>634
ビルドはマルチスレッドじゃなくてマルチプロセスだと言ってるだろうが。馬鹿者。
|