|
|
dont_spam_me <joe.anon09@xxxxxxxxx> writes:
> I'm running an application on an embedded device running Linux (2.6.21
> kernel) . I've found that when the CPU load gets really high on the
> device, output to a file stream sometimes fails.
Exactly what is a file stream?
Is it stdio "FILE *", is it std::ofstream, or is it something else?
The version of Linux kernel is likely completely irrelevant, but
the versions of g++ and libc used to build the application are
likely very relevant.
> Does anyone have any suggestions about what I can do?
You could try to strace the application, and see what interaction
with the OS is causing the failure. Did you enable any signals?
> I thought about retrying, since subsequent writes to that stream
> apparently work. However, my concern is that I don't know the nature
> of the failure.
Right, that would be "Programming by Coincidence" :(
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
|
|