User Tools

Site Tools


workingthread.htm
Navigation:  Templates > Guide to all Templates > Extension Templates >WorkingThread Previous pageReturn to chapter overviewNext page

To get started with the WorkingThread template add the Procedure Extension template.

WorkingThread

You can rename the object or accept the default name:

WorkingThread2

Select variables to be used in the worker thread

WorkingThread3

The variables in this list are generated into the CLASS prepended with “var”. So for example, if you add the variable “LOC:Message”, the CLASS

is generated with the variable:

varLOC:Message       LIKE(LOC:Message),PRIVATE

To access the variable use SELF .varLOC:Message

The Template creates these embeds for you to implement your code to execute on a background thread:

WorkingThreadEmbeds

WorkingThreadEmbedsVirtuals

Go to Class methods

workingthread.htm.txt · Last modified: 2021/04/15 15:57 (external edit)