Rev app 'not responding' under Vista, but fine in XP

Richard Gaskin ambassador at fourthworld.com
Wed Oct 7 13:09:21 EDT 2009


Phil Davis wrote:

 > Richard Gaskin wrote:
 >> Martin Blackman wrote:
 >>> Microsoft Vista is classifying my Rev application as 'Not
 >>> responding' when it runs a particularly intensive handler.
...
 >> Just a hunch, but I wonder if adding "wait 0 with messages" would
 >> free up enough clock cycles to let the OS feel more comfortable.
 >
 > I bet the "with messages" part isn't needed - doesn't that just
 > allow UI interaction, which may not be desirable during Martin's
 > process? In other words, I don't think it's necessary if you just
 > want to free the engine and/or OS to take a breath.

I had picked up the (mis?)impression that the difference with adding 
"with messages" is that without it the "wait" stays in Rev's internal 
even loop, but with it it makes a call to whatever is the current OS 
equivalent of "GetNextEvent".

I wouldn't mind being mistaken, though; it's clumsy syntax.

Anyone here know for sure whether the wait command by itself is 
sufficient to free up a call to the OS?

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv




More information about the use-livecode mailing list