Re:Double-ended vector – is it useful?
by omgtehlion on Monday May 23, 2016 @01:36AM
(#11752105)
Even further: allocate the same physical region twice. Please google what "virtual ring buffer" is ))
[ Parent
| on HN ]
Re:Double-ended vector – is it useful?
by Kristine1975 on Monday May 23, 2016 @08:11AM
(#11753316)
For example here: https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff...
That's a really neat idea - hadn't seen that before. Link: http://vrb.sourceforge.net/
If only that were possible without a file...
Re:Double-ended vector – is it useful?
by omgtehlion on Monday May 23, 2016 @05:14AM
(#11752701)
It is completely possible without a file (on linux, winNT, osx). Syscall names might mislead you, but this is how it is...