[ANNOUNCEMENT] Update: mintty 2.1.2

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jul 27 19:29:00 GMT 2015


On Jul 27 19:44, Thomas Wolff wrote:
> Am 27.07.2015 um 17:58 schrieb Houder:
> >Hi Thomas,
> >
> >Moving load_dwm_funcs() did the trick ...
> >
> >
> Thanks again for your analysis.
> In Control Panel → Performance Information and Tools → Adjust visual
> effects,
> it is only the last of the flags, ☐ Use visual styles on windows and
> buttons,
> that makes the difference; if deselected, mintty crashes if called from a
> console or somehow doubly isolated by
> (setsid mintty &).
> 
> Apparently, LoadLibrary does not propagate to a forked thread;

Forked process, I hope :)

No, it doesn't.  Loading a library is purly process lokal on Windows.
Cygwin DLLs(*) have special startup code which allows to register them
in the process and to re-load them in the child process at fork time.

(*) Actually, any DLL using this special entry point would work.
    Native Windows DLLs just don't, usually :}


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150727/0709845a/attachment.sig>


More information about the Cygwin mailing list