From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: Occasional hang with CYGWIN32=tty? 20 Feb 1998 02:00:12 -0800 Message-ID: <01BD3DEA.C6124690.cygnus.cygwin32.developers@gater.krystalbank.msk.ru> To: "cygwin32-developers AT cygnus DOT com" , "'cgf AT bbc DOT com'" Christopher Faylor wrote: > which closes down the tty thread if it was created in this process but > this the function will block waiting for the tty use count to == 0. I > think that something is incrementing the tty use count and not > subsequently decrementing it. The one place I see is a fork code - dup_for_fork() increments use count, but if fork fails for some reasons, the count is not decremented. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job.