Hi Dave,
you can't be sure, you have to believe
or
look into the windows sources.
But
Windows is designed to work exactly in that way: pre-emptive, miltitasking, thread based.

There might be a good chance, that your underlying database uses messages and waits for the conclusion of a command,
but it will be designed in a way that your program will not gain control again until that job is finished.

You ought to belive in the functionallity of the elementary techniques, better doubt the complex ones ;-)

how to make RELLY sure? there are tCriticalSection and WatForSingleObject ot govern threads. use them at rare needs

Have fun!
Bob


>          I would like to know how I can make sure the code will wait for something to process before executing the next line of code or NOT wait. I know I'm getting this with
>     Sendmessage or PostMessage but not sure with Delphi events. So I guess my question is, Is a Delphi event synchronous (waits until first line finishes before going to next line) or
>     asynchronous (executes next line even if first line isn't finished). I have seen things happen that raised doubts in my mind that Delphi was processing things synchronously.. like a
>     lengthy talbe read followed by some code.
>       
>       Dave
>    



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to