X-Spam-Check-By: sourceware.org Date: Mon, 18 Jun 2007 19:21:27 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: -mwindows and hour glass Message-ID: <20070618232127.GA19711@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <049d01c7b1fd$d8978780$2e08a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.5.15 (2007-04-06) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Jun 19, 2007 at 12:10:22AM +0100, Dave Korn wrote: >On 18 June 2007 23:18, Christopher Wingert wrote: > >> Ummm, Ok, thanks for the response, but the program is... >> >> >> #include >> >> int main( int argc, char *argv[] ) >> { >> sleep( 5 ); >> } >> >> >> >> # gcc t.c -o t -Wl,--subsystem,windows >> >> 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. ...and an hourglass is what you'd expect since there is no whatchamacallit loop processing windows events. A program which is built with -mwindows is supposed to be processing windows events. cgf -- 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/