Share yours idea, view, difference between “Atomic Context and Process Context” with some relevat examples. .. Please
Share yours idea, view, difference between “Atomic Context and Process Context” with some relevat examples. .. Please
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
Hi,
Atomic means “Either do it completely or don’t do it”, it should not be interrupted, for example an ISR can have two parts, top half and bottom half. top half should not be interrupted and should be small, the complete top half should run in a single time, no switching of the processor should be allowed during top half execution. It should be atomic.
And process context is nothing but a context in which a process can be interrupted. Like bottom half. (It can have semaphores, Sleeps, delay, etc.)
Thanks