Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Thread handling issue

Reply
Thread Tools

Thread handling issue

 
 
Paul
Guest
Posts: n/a
 
      10-07-2011
I'm wondering what the best solution for this problem is.

I've got a wxpython app, in one part a user makes some selections then opens a
dialog to select where to output. At which point the app starts a thread
processing their selection while they're choosing an output location, hopefully
ready for when they're done.

My problem is if the user doesn't select an output location and cancels the
dialog to go back to the selection I want to terminate the thread to avoid the
user opening and closing the output selection firing off a ton of threads.

As there's no inbuilt way of killing threads I was wondering the best way to
prevent this?

 
Reply With Quote
 
 
 
 
88888 dihedral
Guest
Posts: n/a
 
      10-09-2011
TRY to get BOA with wxpython! Please check the example for the UI part in BOA.
 
Reply With Quote
 
 
 
 
88888 dihedral
Guest
Posts: n/a
 
      10-09-2011
TRY to get BOA with wxpython! Please check the example for the UI part in BOA.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
signal handling and (structured) exception handling Peter C++ 34 10-17-2009 10:03 AM
python list handling and Lisp list handling Mark Tarver Python 22 04-26-2009 09:36 PM
Is faster handling hexadecimal values than handling chars? IƱaki Baz Castillo Ruby 1 04-15-2008 09:04 AM
console writer thread causes erratic event handling amullick@telcordia.com Java 2 10-07-2005 01:55 PM
GCC, libgcc & thread-safe exception handling Nicolas Weidmann C++ 2 08-07-2005 09:03 AM



Advertisments