Skip to content

Sample code for shared memory on linux and android

License

Notifications You must be signed in to change notification settings

fbradasc/SharedBuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                                 SharedBuffer
                                 ------------

Sample code to demostrate the use of shared memory between different processes (not forked)

Supported targets:

  • linux / unix

    By means of the following APIs:

    • SYSV (shmctl, shmget, shmat, shmdt)
    • POSIX (ftruncate, shm_unlink, shm_open)
  • Android

    By means of the following APIs:

    • SYSV (partially implemented using the ION library)

Unix sockets and sendmsg/recvmsg (ancillary data) are used for the IPC.

About

Sample code for shared memory on linux and android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published