I am looking for a way to call a callback function when a boost thread (boost version 1.60, ordinary thread, no thread group or pool) finishes. I have read this
How can I tell reliably if a boost thread has exited its run method?
but I need some kind of callback. Any idea how to do this? Do I have to create some kind of a conditional variable?
Thanks for help!