REAL-TIME CLOCK PERIODIC TASKS CONCURRENT EXECUTOR
Keywords:
multithreading, real-time clock, concurrency, periodic tasks, sampling rate, synchronous operationsAbstract
Real-time clock periodic tasks concurrent executor program is being written to execute multiple timed periodic tasks concurrently using modern CPU multithreading and multicores feature at specific RTC periodically. By using RTC as an absolute reference, we can analyze the status of multiple isolated devices on selected time instances to know about overall system status or each individual systems status. Multithreading program able to execute multiple tasks concurrently, making RTC periodic tasks possible. While single threaded sequential program only run multiple tasks in sequence, one at a time. Each task runtime creates delays resulting subsequent periodic tasks no longer synchronous. Nevertheless, this program can run without RTC. It becomes an isolated system, capable of performing its own synchronous operations.
References
Deitel, H.M., Deitel, P.J., Nieto, T.R. (2002): Visual Basic. NET: how to program. – Prentice Hall 720p.
Halbwachs, N. (2013): Synchronous programming of reactive systems. – Springer Science & Business Media 215: 140p.
Lisper, B. (Ed.) (1989): Synthesizing synchronous systems by static scheduling in space-time. – Berlin, Heidelberg: Springer Berlin Heidelberg 111p.
Price, M.J. (2020): C# 9 and. NET 5–Modern Cross-Platform Development: Build intelligent apps, websites, and services with Blazor, ASP. NET Core, and Entity Framework Core using Visual Studio Code. – Packt Publishing Ltd. 249p.
Tanwar, S. (2019): Hands-On Parallel Programming with C# 8 and. NET Core 3: Build solid enterprise software using task parallelism and multithreading. – Packt Publishing Ltd. 35p.