• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we use Threads in a Scriplet

 
Sandeep Kumar S Jakkaraju
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use Threads in a Scriplet ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be a BAD idea to write scriptlet code that starts a new Thread. Scriplet code should be as simple as possible.

If your application really needs to start an independent Thread, do it in a helper class. If this is anything but a casual question, describe the problem you are trying to solve.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic