title: Waiting signal to continue C++
body: <p>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++.</p>
  
  <p>For the moment I have just a while which check if the directory is empty or not.</p>