Changed the places for the locks to stop including assignments of variables, mallocs and free-methods.
Merge branch 'master' of github.com:demonicblue/operating-systems