+++ Updated IOSharp.c lib

+++ Sync and Lock for IOPorts and GPIOManager