georgesawyer
1/9/2005 12:47:00 AM
If you decide ultimately to use FXaddTimeout, I think better not queue the
data in arrays. If the J1939 input (a string?) will stay allocated in
memory, do everything with it after the timeout triggers. If in a
vulnerable system buffer, duplicate its exact form. You're right, I
wouldn't add any clumsy code to hold intermediate data storage formats.
Then move your handling code to the timeout event handler. At worst you
would have a queue of input strings. Just my two cents.