Added Futex Lock Support ( USE_FUTEX Compilation Option )
Credits to Ryan Bullock
import proper locking .h