docs

a slatepencil documentail site

View on GitHub

Electronic Engineering and Computer Science

Computer Architecture

Computer Architecture

Electronic Circuit Schematic

schematic symbols

Jargon Glossary

RTOS

CPU Scheduling Taxonomy

Thread Design Pattern

Task vs Process

Task

A thread with normal thread state including stack, registers, PC, but also including signal handlers, task variables, task ID and name, priority, entry point, and a number of state and inter-task communication data contained in a TCB(Task Control Block) for VxWorks RTOS or Linux kernal descriptor.

Process

A process contains 1 or more threads in a protected address space, A process is a thread of execution with stack, register state, and PC state along with significant additional software state such as copies of all I/O descriptors (much more than an RTOS task + TCB) including a protected memory data segment (protected from writes by other processes)

Threads

Linux User space vs Kernel space

Linux has 2 address spaces - user and kernel

Kernel space directly interfaces to hardware and manages all resources

User space protects the system from errors and provides security & stability

can we have both? - with care

environments

unit quantites

suffix multiplier
T 10^12
G 10^9
M 10^6
k 10^3
m 10^-3
u 10^-6
n 10^-9
p 10^-12
f 10^-15

HOMEWORKS_I