Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread cygwinx2eran
On 2004-03-04 18:02, Takuma Murakami wrote: Perhaps there should be a switch that says if the display already exists, exit silently. I agree. We should have an option like -silent or -quiet. That's not quite it -- I want to ignore a display already exists error, but if some other fatal

Re: reset/terminate problems; preventing multiple XWin instance

2004-03-04 Thread cygwinx2eran
On 2004-03-04 13:12, Alexander Gottwald wrote: if ! xdpyinfo /dev/null 21; then Cygwin's xdpyinfo waits for 6 second before giving up. A couple of days ago I posted an alternative solution using netstat, which doesn't have this delay. Both suffer from race conditions, which are quite likely to

Re: reset/terminate problems; preventing multiple XWin instances

2004-03-03 Thread cygwinx2eran
Hi, On 29-02-2004 14:11, Takuma Murakami wrote: As for preventing multiple instances of XWin This feature is already implemented in my local tree (not port based but mutex based detection). I see that it's in 4.3.0-50 and working well, but I don't see how the current implementation addresses