[Tutor] A further question about opening and closing files
Laura Creighton
lac at openend.se
Wed Sep 9 21:42:20 CEST 2015
In a message of Wed, 09 Sep 2015 20:25:06 +0100, Alan Gauld writes:
>On 09/09/15 19:20, Laura Creighton wrote:
>If you are working on a small platform - think mobile device - and it has
>a single channel bus to the storage area then one of the worst things
>you can do is write lots of small chunks of data to it. The overhead
>(in hardware) of opening and locking the bus is almost as much as
>the data transit time and so can choke the bus for a significant amount
>of time (I'm talking milliseconds here but in real-time that's significant).
But if I shoot you with my laser cannon, I want you to get the
message that you are dead _now_ and not when some buffer fills up ...
Laura
More information about the Tutor
mailing list