Hello,

Am Dienstag, den 24.08.2010, 20:09 +0200 schrieb John-Mark Bell
<[email protected]>:
 
> It's perfectly fine to return immediately if you want to: you'll just
> waste CPU cycles spinning, which is pretty much what the Windows
> frontend does.

For me, it is not perfectly fine - because it wastes CPU cycles. 

A question to the NetSurf Windows Developers:

Why don't you do something like:

if(blocking_allowed)
 GetMessage(...);
else
 PeekMessage(...);

? :) Maybe it's because the Windows developers don't know when
blocking_allowed must be set to true? This is just an theory.  

Kind regards,
m


Reply via email to