in reply to Re^9: Shared variables between threads
in thread Shared variables between threads
Couldn't find a solution.
Finally i managed to solve my problem using setnonblock on capobj with dispatch and controlling the capture with a shared variable.
But that solves my specific problem. Too many time with this, I needed to go forward.