Real-Time Embedded Multithreading