Hi all, I am using inline c++ in perl and I do threading in C++. When threads are running,and I need to stop the threads when I click a button How do I stop them immediately?In c++ there is a volatile variable which will change value in memory immediately (unlike normal variables which are kept in register and change in memory after a while ). Is theer such a variable in perl? Or how do I send such a variable to c++. Any ideas? thanks kararu.