W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998


From: <Jim_Ravan@avid.com>
Date: Thu, 17 Dec 1998 19:12:45 -0500
To: www-lib@w3.org
Message-ID: <852566DE.00012B1F.00@amm02.avid.com>

Hmmm, this *seems* to be a bug, but you implementors will know better than
I. The !WWW_WIN_ASYNC version of HTEventList_loop is coded as:

     do { <the event loop> } while (!HTEndLoop);

We just ran into a case where a user-established AFTER filter had called
HTEventList_stopLoop() *before* HTEventList_loop() had been called. In this
case, the program hung in the event loop infinitely. This is on a Mac using
CWGUSI for sockets. It seems that it would be more defensive to code the
event loop:

     while (!HTEndLoop) do { <the event loop> };

Yes? No?

Received on Thursday, 17 December 1998 19:14:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC