Thread handling issue

P

Paul

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?
 
8

88888 dihedral

TRY to get BOA with wxpython! Please check the example for the UI part in BOA.
 
8

88888 dihedral

TRY to get BOA with wxpython! Please check the example for the UI part in BOA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top