From: Jacek Caban Subject: Re: [PATCH] conhost: Delay-load gdi32 and user32. Message-Id: Date: Tue, 16 Feb 2021 20:44:21 +0100 In-Reply-To: <20210212232334.32420-1-z.figura12@gmail.com> References: <20210212232334.32420-1-z.figura12@gmail.com> Hi Zebediah, On 13.02.2021 00:23, Zebediah Figura wrote: > Both do some nontrivial work on DLL initialization, and conhost may quite > likely never need to display UI. See bug 38640. We probably want to create a message window for Unix consoles. > Signed-off-by: Zebediah Figura > --- > Actually gdi32 initialization is quite cheap now, at least on my machine, > though user32 still takes over 100 ms. In truth the annoyance for me was not > so much startup time as pollution of +server logs. Note that when you create a new console, client does not wait for that initialization, so it doesn't block client application (unless it does any ioctl that needs conhost). Thanks, Jacek