| ??? 12/27/07 11:06 Read: times |
#148781 - Buffering options Responding to: ???'s previous message |
It is not a problem to add the overflow management to the interrupt code. Yes, it's not a problem only if you remember it. Can do is different from actually do. My point is that the endless feeling of ring buffer often makes us forget the buffer size limit. I don't think ring (cyclic) buffer is more beautiful than other buffering methods. I can write any buffering method beautifully. :-) As I said in my above post, "single, double and ring buffer", there are many buffering methods. Each of these methods have its own strength and weakness. The system requirement determines which method fits to the system better, including no buffering (no interrupt). And just your programmer's sense tells the system requirement exactly. Tsuneo |



