missing mutex & conditional variable sources added, linux build configs, high cpu usage server fix