MTBuilder AcademyLearn it. Test it. Build it.
Bench reference · 254 terms

Words worth knowing

Start with the plain-language meaning, then reach for the technical definition when you need precision.

Showing 1 term

Critical section

Also: atomic region

Link to term
In plain language

Code that accesses shared state and must not be interleaved with conflicting access.

Technical definition

Protection may disable interrupts briefly, use locks, or use atomic operations; duration must remain bounded.

Example Reading a multi-byte counter updated by an ISR may require a protected snapshot.

Common misconception Marking data volatile does not make a multi-step update atomic.