Back Previous Next


Linguist basic package - new

Syntax:

   new thread

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKNew.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BHNew.class

Function:

Continue executing the script in a new thread. In some circumentances a callback may be waiting for the thread to complete before releasing resources, and this can lead to a 'deadly embrace' and a program lockup. Transferring to a new thread avoids this by permitting the resources to be released early.

Example(s):

   new thread


Back Previous Next