This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Win95 Lockup's


In article <19980423114819.26051.rocketmail.cygnus.gnu-win32@send1d.yahoomail.com>,
Earnie Boyd <earnie_boyd@yahoo.com> wrote:
>3) If you ever do ^C then exit bash and the process before executing
>anything else.  Based on MS documentation the ^C creates a thread to
>handle the ^C.  We know that the cygwinb19.dll is not thread safe. 
>Therefore, it is best to get rid of the process with the unsafe
>thread. (Someone said that this doesn't happen with the cygwinb19.dll;
>however, since it is incorporated into Win32 I don't see how it can be
>prevented; especially on Win95.)

That was me who said that cygwin32 does not create a thread.  I was only
partially right.  Cygwin32 does not create a separate thread for handling
^C when CYGWIN32=tty.  In this case ^C's are handled by the tty handler
directly.

If CYGWIN32=tty is not set, then there *will* be a separate thread.  But,
signal handling was designed to be thread safe.  If it is not working
correctly, then that is a bug.  I'm looking into it now.
-- 
cgf@cygnus.com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]