This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: -mwindows and hour glass
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/