Handy API to manipulate thread's executions.