On Feb 16, 2006, at 2:05 PM, jon pipitone wrote:
Mike Woodworth wrote:
yep, loop ends yield to the main loop, and the
DisableBackgroundTasks pragma is the proper solution.
If this is in fact what is happening, then isn't this a big fat
bug? I mean, no one wants compiler optimizations causing this sort
of wacky behaviour, and no one wants to put pragmas around every loop.
This is in fact what's happening, but it's not a bug, and it's not a
compiler optimization. It's just the way the language works. Every
loop iteration gives background tasks an opportunity to do their
work. If you don't want that to happen, you can turn the background
tasks off, using a pragma statement.
Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>