Introduction - If you have any usage issues, please Google them yourself
Monitoring with the directory as an example of two multi-threaded applications, if the list kept by the monitor thread and the directory, you can achieve any number of directories to monitor. Before creating a thread to monitor a specified directory and it reflects the changes in the display list.