delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/18/19:21:46

X-Spam-Check-By: sourceware.org
Date: Mon, 18 Jun 2007 19:21:27 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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...
>> 
>> <bof>
>> #include <stdio.h>
>> 
>> int main( int argc, char *argv[] )
>> {
>>    sleep( 5 );
>> }
>> <eof>
>> 
>> 
>> # 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019