bilalD,
I appreciate your comments. Thanks.
my streamwriter is in the AI thread
i put it in the callback method
this is what you mean by "synchronous in the AI thread" ?
--------------
my UI thread has a form timer that dequeues a queue for UI controls (graph, gauge, etc..)
i am guessing that writes from the UI thread
would only be reasonable if my AI
was not on a separate thread..
seems like the data coming in on the AI thread would
not be synched with the UI timer...dangerous or impossible?
------------
i started this post because when I press my "stop recording to file" button,
the AI thread hogs resources and my UI thread stops for a few seconds while the AI thread finishes writing.
Cheers.
Philip Newman
General Dynamics
Electric Boat