notify main when a threa is done

This is a discussion on notify main when a threa is done within the Linux Programming forums, part of the Platform Specific Boards category; Exactly grumpy! When you are learning on your own you are not sure where to look. I gained enough from ...

For what's it's worth, the boost libraries have a pretty fantastic implementation of a threadpool as well. I remember using it and finding that is was quite easy to use. Though I think I did have some issues with it regarding passing references.