Enterprise Application Architecture with .NET Core
by Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi
Thread synchronization
In my work experience, associates always felt that multithreaded applications provide the illusion that numerous activities are happening at more or less the same time. Interestingly, on observing CPU/system reality, it is considered as Time Slice to switch between different threads. It is based on round-robin methodology.
Process-based multitasking handles the concurrent execution of programs, while thread-based multitasking deals with the concurrent execution of pieces of the same program.
In this section, it is essential to highlight the risk factor of thread collision during a multithreading process in an enterprise application. On building any multithreaded application, shared data should be protected from the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access