Nutanix interview question

OS Debug round based on producer - consumer problem