HI

>
> Well, I think that might also cause you lose data.  Can't the file handle
be
> allocated in advance, maybe?
>
> Please forgive me if my comments seem stupid.  I'm doing the best I can to
> guess my way through what you're doing!  :-)
>

I agree this is intriguing but without some more info how are we supposed to
give better advice or indeed for an opinion on how to approach your problem.

>From your description you have altered to priority of the main thread, was
that to the highest setting?  How fast is the data coming in? Does it stop
and start or is it continuous?  Is this over a network, input device or comm
port?

What comes to mind is a growable buffer that accepts information and then if
the process hasn't emptied it will grow using more mem.  If however the data
doesn't stop and start your buffer will still eventually overflow......

How fast is the slowest machine, might it be better to just say to the
people buying your app that this is the spec... or is that unrealistic ????

Regards
Max



Reply via email to