more advanced synchronization in userland
::lock/::unlock on Thread and Stackable
::synchronized on Thread and Stackable
fix binding.phpt
fix windows build