• Post Reply Bookmark Topic Watch Topic
  • New Topic

Worker thread. Comments please

 
Sri Bala
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a worker thread and joined it with main thread. I'm passing the argument through the constructor and accessing the result using a member fn. Is this a good way of passing arguments to a thread and accessing? I need expert comments on my code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!