title: Parallele execution of objects in QT
body: <p>I have a program in QT which create large amount of objects for making numerous request.
  This number being potentialy very big a happen to have this error :</p>
  <blockquote>
  <p>GLib-ERROR **: Creating pipes for GWakeup: Trop de fichiers ouverts</p>
  <p>Trop de fichiers ouverts = Too many files opened (in french)</p>
  </blockquote>
  <p>I wanted to limit the number of connection object (to like 10-20) by creating a QSemaphore, acquiring one before creating a new object and releasing it when destroying it.</p>
  <p>What in fact happens is that when I try to acquire a semaphore of value 0, the program waits, and even the objects' code stops running, which leads to never realeasing the semaphore and to an infinite loop.</p>
  <p>How comes the others objects don't continue executing ? How to solve this ?</p>