in reply to How to forcefully destroy a thread

I don't know much about multithreading in perl, so speaking generically, forcefully destroying threads tend to have unpredictable side effects. For example, they removed the ability to forcefully kill threads from the Java language/API. Would it be possible to run xc() as a seperate process (via forking, pipes) instead of running it as a seperate thread?