This is something I wrote in March of 2000, about how to write a cooperatively multithreading app using Qt and GNU Pth.
Amazingly enough, I think it still may have some little value :-)
The syntax is probably wrong considering Qt has gone from 2.0 to 3.2 and Pth from 1.0 to 2.0, but it should work as a rough guide.
One funny bit: I had no copies of this. So, it's a good thing the Internet never forgets :-)