Hi;

Lets say a call is made to my OnData and my code is executing in there and it's taking a bit of time (no it shouldn't, but it does in this case).

Can OnOrder fire and so I am then processing my code in there at the same time?

Or are messages queued and so OnData must return before OnOrder is called.

And if it's multi-threaded, does QC have semaphores or something similar to avoid race conditions?

thanks - dave