Skip to content

aidandj/py_boost_shmem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_boost_shmem

An example of mapping shared memory between boost::interprocess and Python's mmap.

I was having a problem connecting shared memory in python (using the mmap module) to shared memory in C++ created using boost::interprocess. I got it working and wanted to post the solution somewhere for myself in the future as well as anyone else who may have this issue.

This example was written along with a corresponding stack overflow question

aidandj's changes

Made it work for Linux. But kinda hacky. Might do some clean-up later.

About

An example of mapping shared memory between boost::interprocess and Python's mmap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.7%
  • Python 41.9%
  • CMake 4.4%
  • Dockerfile 2.0%