I was wondering if something like this would work:
On a pipeline stage I create a POSIX thread and leave it running on the baclground. Then the pipeline stagereturns a NULL to the next stage. Is it possible for the living thread, somehow, to send a new task to the next stage on the pipeline?. Is the pipeline completely closed from the begining to the end?.
I am trying to do this because I have found problems with pipeline stages trying to run things on the background to leave a free CPU for other token to arrive...
Thanks in advance,