Concurrency is hard. Multithreaded code is hard. This post surveys common concurrency related bugs and outlines possible solutions.
Category: Real Time
The Anatomy of a Race Condition
What is a race condition? This post defines and explores this troublesome software flaw.
Premature optimization?
“...premature optimization is the root of all evil...” - Donald Knuth This well known quote by Donald Knuth represents hard-earned wisdom for which many software engineers should consider and broadly follow. Yet with any succinct rule we must be vigilant…
Brother, can you spare a GPIO?
The core recommendation of this post will be familiar to an experienced embedded systems engineer, yet it is worthy of note and a useful trick for engineers learning their trade. The "trick" in question: Design embedded systems with accessible spare microcontroller…
Experiences with the Linux Real Time Scheduler
Check out my latest entry at embeddedrelated for a recent lesson learned when using the Linux Real Time Scheduler.