The OpenD Programming Language

TaskPool.workerLocalStorage

Creates an instance of worker-local storage, initialized with a given value. The value is lazy so that you can, for example, easily create one instance of a class for each worker. For usage example, see the WorkerLocalStorage struct.

class TaskPool
workerLocalStorage
(
T
)
(
lazy T initialVal = T.init
)

Meta