I have to start my programme every morning and this one has to wait few files during the day. I would like to know if anyone has a clean idea for my programme to wait during each treatment of file. It has to be cross-platform in C++.
For the moment I have just a while which check if the directory is empty or not.