This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: (patch) enable signals in dynamically loaded Cygwin DLL
- To: Chris Faylor <cgf at cygnus dot com>
- Subject: Re: (patch) enable signals in dynamically loaded Cygwin DLL
- From: Mumit Khan <khan at nanotech dot wisc dot edu>
- Date: Mon, 06 Dec 1999 23:27:02 -0600
- cc: cygwin-developers at sourceware dot cygnus dot com
Chris Faylor <cgf@cygnus.com> writes:
>
> Note that this probably affects tty initialization too. It's not just
> signals that are affected, it's any thread that is started during DLL
> initialization. Since CYGWIN=tty implies the creation of several runtime
> threads, I assume that the problem is manifested there as well.
>
Yes, it does. In fact, one I/O problem I was having (where the dyn
loaded DLL will crash trying to read from the tty) is fixed after
this.
I believe I've checked all invocations of makethread, and feel that it's
a safe replacement. Please let me know if you have misgivings about the
synchronization, and if so, I can put it back and only enable that if
!dynamically_loaded.
Regards,
Mumit