• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with my application never exiting the main

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have an application that performs computations through a monte carlo simulation. I use a completion service but my main never exits.
Can anyone please help?
Thanks in advance,
Julien.

 
Chris Hurst
Ranch Hand
Posts: 443
3
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about calling shutdown on the workers .. seems to work for me ...

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Chris!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!