Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > Re: Why the del...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 10 Topic 1337 of 1428
Post > Topic >>

Re: Why the delay to close()...?

by Sundial Services <info@[EMAIL PROTECTED] > Mar 6, 2008 at 10:31 PM

Sundial Services wrote:
>"Little old sleep()" causes the Windows message queue to be
> emptied, and by specifying an insignificant number of milliseconds'
delay,
> we assure that the Paradox process gets re-dispatched.

I guess I should clarify that ...

"sleep()" by-itself will loop until the Windows message-queue at that
particular moment in time is empty.  All of the subroutine-calls that
might
magically occur within the Windows system for all of the then-pending
messages will therefore occur, but there's still a lot of "variability"
that would still remain .. a large number of "well, it happened once but I
can't make it happen again" cases, yet to be debugged.

By introducing a delay, even 10/1000 of a second, you force Paradox
to "yield" to Windows.  Before the Paradox program will start running on
your computer-system again, Windows will have been given an /explicit/
op****tunity to "really, once-and-for-all" dispose of any and all "pending"
work that might yet remain to be attended to.  In other words, if that
form
is "halfway in the middle of becoming 'open,'" by the time this
inconsequential "delay" is finished, the form will most-likely now be "all
the way, really-and-for-true 'open.'"

Many precious hair-follicles might thereby be saved.  :-D

----
ChimneySweep(R): Fast(!) table repair at a click of the mouse!
http://www.sundialservices.com
 




 10 Posts in Topic:
Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 12:59:21 
Re: Why the delay to close()...?
Dennis Santoro <RDAPre  2008-03-06 13:11:33 
Re: Why the delay to close()...?
"Tony McGuire"   2008-03-06 11:15:23 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 13:55:53 
Re: Why the delay to close()...?
"Jim Moseley" &  2008-03-06 15:14:08 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-06 16:58:07 
Re: Why the delay to close()...?
Sundial Services <info  2008-03-06 20:49:27 
Re: Why the delay to close()...?
Sundial Services <info  2008-03-06 22:31:33 
Re: Why the delay to close()...?
Kenneth <usenet@[EMAIL  2008-03-07 07:32:01 
Re: Why the delay to close()...?
Mark Bannister <markRe  2008-03-07 08:24:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:59:42 CST 2008.