Passing parameter by cont reference
Getting rid of lock held during suspension