delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46771623.57023E03@dessent.net> |
Date: | Mon, 18 Jun 2007 16:32:51 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: -mwindows and hour glass |
References: | <3224 DOT 66 DOT 75 DOT 158 DOT 4 DOT 1182205082 DOT squirrel AT www DOT wingert DOT org> <049d01c7b1fd$d8978780$2e08a8c0 AT CAM DOT ARTIMI DOT COM> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dave Korn wrote: > > Starting this from explorer results in a 5 second busy hour glass and (of > > course), explorer is unresponsive until the program ends. > > Can't reproduce. What version of 'doze are you using? I get the > hour-glass-with-arrow cursor for five seconds, but explorer still responds. Same here, just a busy-arrow, no other hang. I notice that if you call the Win32 version of Sleep() (capital S) instead of Cygwin's sleep() there's no busy-arrow. Also, a MinGW version of the program doesn't show the busy-arrow either. So there is something in particular about the Cygwin implementation of sleep(), which is really just a wrapper around nanosleep(), which itself really just calls cancelable_wait(), which in turn relies on WaitForMultipleObjects() with a delay. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |