FWIW, I implemented the STM based solution, and it works a treat. It's less of a hack than the version where I got the child thread to send a SIGINT. ;-) T. -- Dr Thomas Conway drtomc at gmail.com Silence is the perfectest herald of joy: I were but little happy, if I could say how much.