This section describes the various ways to serialize access to resources, which is often required in a pre-emptive multitasking environment.