stevieb9 / rpi-wiringpi

Perl interface to Raspberry Pi's board, GPIO and various sensors and ICs
7 stars 1 forks source link

add ability to create separate shared memory segments #153

Closed stevieb9 closed 5 years ago

stevieb9 commented 5 years ago

Instead of having a "no register" option for new objects, instead allow new() to send in a custom shmem key. Example:

This way, the test suite can blow away the entire meta db after each run to ensure its cleaned up properly on test failure, without disrupting the production scripts.