Using remote threading

So far, we were focusing on situations where we had total control of all application parts and the execution itself. In practice, this is far from the truth. In many situations, you would have to continue where some other developer stopped or you would have to use compiled parts or even external applications where changing the code is not possible. Even in such a situation, sometimes there is a need to change some application behavior, which we will explain later.

When we are unable to change the code, we could use remote threading. Remote threading is a feature presented by the Windows operating system, starting from XP OS, and maintained in all newer versions. A remote thread is actually a thread like any other, with the ...

Get C++ Multithreading Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.