https://img.yumpu.com/24537458/1/358x254/chapter-1-sample-code-real-time-programming-two-types-of-.jpg?quality=80