In the OSEK 2.0 operating system, Tasks can be divided into basic tasks and extended tasks:
● A basic Task runs once, upon activation, and then terminates.
● An extended Task runs once, upon activation, and then suspends itself, calling the API function “WaitEvent”.