[c] isolated thread logic, queue optimisation for consumers