added a semaphore to the meta data

The semaphore is initialized when the spawn() of the output filter is called. When signalStartupCompletion() is called, a sem_post() is put out that will let the spawn of the input filter launch the pthread. The input filter will until that point be waiting with a sem_wait() call.