Implemented non-preemptive mode of operation
Change example names to match the preemptive/non-preemptive rather than async/sync