On Thu, Aug 08, 2002 at 05:03:46PM +0200, Oskar Sandberg wrote: > We use CircularBuffers - when data is considered to be to large to > cache, it sends it to a circular buffer meaning that the when the writer > reaches the end of the buffer, it starts over (but makes sure it does > not "lap" the position of any reader that already started reading). The > "lapping" code is already implemented in CircularBuffer.java, all you > need to do is make sure that the writer cannot pass readers that are > ahead of it (and vice versa) in a Buffer.
OK, that was more complex than I thought. A bit too complex IMHO. I'll think about how too solve this without touching the overall design anyway. mvh, -- G?ran _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
