27.4. The kernel
Unlike the rest of the executive, the kernel remains resident and runs without preemption, although interrupts from devices will still be delivered. It is written primarily in C with assembly language for those parts which must execute with maximum possible speed or are processor-specific. The kernel has four main functions:
scheduling threads for execution;
transferring control to handler routines when interrupts and exceptions occur;
performing low-level multiprocessor synchronization;
implementing system recovery procedures after power failure.
Policy/mechanism separation is a design feature of Windows NT and Windows 2000. The kernel provides mechanisms; the executive builds on them and implements policies. Above the kernel, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access