Problem with pty allocation code, race condition?

Brian Keener bkeenerReMoVeAnTiSpAm@thesoftwaresource.com
Mon May 17 23:43:00 GMT 2004


Christopher Faylor wrote:
> Yes, the very latest snapshot attempts to fix this problem.  Please give 
> it a try and report the results here.
>
If this is of any help as far as testing I normally start up multiple sessions 
for login using the following for my cygwin.bat file:

@echo off
SET MAKE_MODE=unix
SET CYGWIN=binmode ntsec nostrip_title title tty     
SET PATH=d:\cygwin\usr\local\bin;d:\cygwin\usr\bin;d:\cygwin\bin;%PATH%;.
D:
chdir \cygwin

start CMD /c bin\rxvt -geometry 90x30 -fg grey -bg midnightblue -cr red -sr -sl 
2000 -fn "Lucida Console-12" -tn rxvt -e /usr/bin/login

start CMD /c bin\login.exe 
start CMD /c bin\login.exe 
start CMD /c bin\login.exe
exit

Prior to the current snapshot depending on system load I might or might not get 
4 sessions started as they should be with a login prompt.  With the current 
snapshot 20040517 this has worked successfully repeated times with some heavy 
loads on my laptop.

bk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list