Closed tatref closed 2 years ago
With a quick skim, this looks OK to me. I would be nice to have all the fields of Shm
documented, but it's not required for a first version.
I added doc for every items, hopefully it's correct!
Can you rebase this on top of the latest master
branch?
What do you think is left for the PR? Is it still a "WIP" ?
I fixed some comments in the example file, I think this PR is finished. You can merge it if it's good for you.
I think you should squash five commit to one commit
Thanks!
This is related to my last commit to add /SYSV paths to the memory maps (#151)
Output of the example:
I check with Oracle databases that make huge usage of shared memory, it works as expected.
This PR seems good to me, but I wouldn't mind somebody else checking the types of the fields in the
Shm
struct as I'm not very fluent in C.I'll also try add comments to theses fields