(Untitled)

Oct 19, 2008 18:51

And now for some more programming advice. Today I spent a long time trying to track down a bug in my circular buffer implementation. These were the conditions:
  • The bug manifested as a buffer entry apparently being 1 number larger than it should be (when writing consecutive integers into the buffer);
  • It only showed up when the producer and consumer ( Read more... )

Leave a comment

Comments 2

(The comment has been removed)

liedra October 19 2008, 09:37:42 UTC
But useful! :D

Reply

mmaster October 19 2008, 11:14:14 UTC

Leave a comment

Up