Merge pull request #148 from bastih/master

Remove dont_block assertions, clean up taskscheduler tests
Remove deprecated register keyword
Clarify parenthesis situation in locking.h
Remove unused pointer
Remove unused result var
The standard assumes hash to be a struct
Add miniscule error handling to prevent non-void return
Remove unused param that issues a warning