1. A method performed by a scheduler of a process executing on a computer system, the method comprising: executing a first task associated with a first execution context to completion without blocking or being interrupted on a first processing resource allocated to the scheduler; and executing a second task, distinct from the first task and associated with a second execution context, with the first execution context on the first processing resource in response to the second task not being invoked previously by the scheduler.