caitp/linux-lock-pi — pull request #2 by caitp (2013-08-11 17:40:43+00:00)
Title: Try to improve GPIO speed by calling gpio.setup less

This version should cache already-setup pins in an object, and only setup
again if the direction changes, or if the pin is not cached as exported.
Additionally, this version adds a handler for the process 'exit' event, which
should unexport all pins when the app is killed or exited.