Testimonial

"Barr Group training courses should be required before writing any embedded code."

General Dynamics

Glossary

Find definitions for technical terms in our Embedded Systems Glossary.

A B C D E
F G H I J
K L M N O
P Q R S T
U V W X Y
Z Symbols

Test Your Skills

How good are your embedded programming skills? Test yourself in the Embedded C Quiz or the Embedded C++ Quiz.

Test Your Skills

Newsletter Signup

Want to receive free how-to articles and industry news as well as announcements of free webinars and other training courses by e-mail? Signup now.

Multithreaded RTOS Programming

There is a lot of misinformation about multithreaded programming and the use of real-time operating system features. Misinformation and programmer inexperience often leads to poor task decomposition and introduces system failures such as task starvation, deadlock, and priority inversion. This course teaches the proper use of RTOS APIs in developing multithreaded software. Variants of the course cover specific RTOS APIs and features, such as VxWorks and MicroC/OS-III.

Length/Options

  • 1.5 days (hands-on with MicroC/OS-III)
  • 1 day (lecture only, choice of RTOS API)

Audience

  • Firmware developers evaluating or using a real-time operating system

Prerequisites

  • Familiarity with the C programming language

Related Courses

Outline

  • Multitasking Fundamentals
    • Tasks and Task States
    • Scheduling Points
    • Context Switching
    • System Calls
    • Mutual Exclusion
  • Rate Monotonic Scheduling
    • Preemption
    • Rate Monotonic Algorithm
    • Schedulable Bound
    • Aperiodic Tasks and Interrupts
    • Priority Inversion
  • Intertask Communication
    • Semaphores
    • Mailboxes
    • Message Queues
    • Event Flags
    • Starvation and Deadlock
  • Related Topics
    • Memory Management
    • Timer Ticks
    • OS Hooks
    • Interrupt Handling
    • Task Partitioning

All exercises are done using the IAR Embedded Workbench integrated C/C++ compiler-debugger on the Renesas target development board. RTOS exercises are based on Micrium's popular, royalty-free MicroC/OS-III real-time operating system.

Learn More

To request pricing or dates, or for more information about this course, contact us.

Comments

Dear Mike,

I wanted to extend a great "thank you" for the training that you gave at our company earlier this month. Your professionalism and level of knowledge made it an absolute success for us as a team, and I couldn't be more pleased with my choice in a trainer. Your class had a great pace, great material whether or not you had much RTOS experience, and the hands-on exercises were very useful. We all learned more than we had hoped and expected, and are already making changes in the way we deal with our complex firmware projects.

Also, it was great getting to spend time with an industry expert. We all enjoyed your presence, as many of us are regular readers of your articles. In the future I will definitely recommend Barr Group to others and encourage them to try and attend your Embedded Software Boot Camp. The two guys that were in the session are still in school said that your 2-day course was more valuable than their 15-week operating systems course at university.

Thanks again Mike, it was great pleasure to meet you and I wish you the best of luck in the future.

Sincerely,
Mike F.