Two Heuristic Methods of Hardware Threads Interleaving in a Time Predictable Multitasking System (International Journal of Applied Mathematics and Computer Science, 2026)