This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT new Threads don't terminated upon disposal?

 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, I have the following piece of code where I create a thread that updates the cursor location in a label every 25 ms. The problem is, the thread doesn't seem to terminate upon exit (since the process stays alive in eclipse). If I launch the thread as daemon, everything is fine, but why won't this work?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic