Fixed a small problem in threading code
Merge branch 'master' of https://github.com/darksideos/darkside-kernel