The requirement raised from deadlock situations in multithreaded environments.
The request was to create an additional thread inside the running process, monitoring and logging activities of all other threads.