Unsafe, super-fast cross-process memory buffer?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2011-03-16T08:05:12Z Indexed on 2011/03/16 8:09 UTC
Read the original article Hit count: 180

Filed under:
|
|

Cross-process memory buffers always have some overhead, and my understanding is this is quite high. But what if you're implementing a cross-process render-buffer, this isn't critically important in the same way as other data so are there techniques we can use to get 'raw' access to a chunk of memory from multiple processes, with no safety nets apart from it not crashing? Or do modern operating systems simply not work with unabstracted memory in a way to make this possible?

I'm working in C++ but the question applies to Win XP/Vista/7, MacOSX 10.5+ (& Linux less importantly).

© Stack Overflow or respective owner

Related posts about c++

Related posts about ipc