View Revisions: Issue #4713

Summary 0004713: Starting new script thread with method is wrong
Revision 27.03.2021 14:28 by stgatilov
Additional Information Note: there is function called callFunctionOn in tdm_util.script, which allows you to create new thread like this:
  thread callFunctionOn("frob_ignite", child);
Here new thread calls child.frob_ignite();

This function does not support passing parameters.

UPDATE: This approach is not good, since it does not catch compiler errors due to type on method name.
As it turned out, just writing the call directly is OK:
  thread child.frob_ignite();
Hopefully, all the minor problems with such approach are fixed now...
Revision 25.12.2017 10:09 by stgatilov
Additional Information Note: there is function called callFunctionOn in tdm_util.script, which allows you to create new thread like this:
  thread callFunctionOn("frob_ignite", child);
Here new thread calls child.frob_ignite();

This function does not support passing parameters.
Revision 25.12.2017 10:06 by stgatilov
Additional Information