By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,404 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,404 IT Pros & Developers. It's quick & easy.

stopping a threaded script

P: n/a
When testing scripts, I normally type 'ctrl' combined with the key 'c'
to abort the script, however, this doesn't work with scripts that are
threaded. What's the proper way to abort a threaded program?

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> When testing scripts, I normally type 'ctrl' combined with the key 'c'
to abort the script, however, this doesn't work with scripts that are
threaded. What's the proper way to abort a threaded program?


If its the proper way is a question of taste, however it is also possible
with C-c in m-threaded apps. Use the Thread.setDaemon-method - then your
app will go away when C-c is pressed.

Regards,

Diez
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.