Hi John,
> We've seen applications that do this so I believe it should
> be allowed.
Argh, that was not the answer I wanted to hear :-) I assume
these applications are valid and that they would be hard to
write without the recursive call to ServiceLoop()? Are they
unthreaded applications?
> However, generally it is not good practice since those
> callbacks might have to know how to handle transactions other than
> the ones their waiting for - which makes things more complex.
> Callbacks should do quick data updates and get out. ::ServiceLoop()
> should generally be called from a central dispatcher loop. On
> multi-threaded HVLs it should have its own thread.
I agree with this. Good stuff for the application note.
Per
Received on Wed Mar 24 07:45:39 2004
This archive was generated by hypermail 2.1.8 : Wed Mar 24 2004 - 07:45:40 PST