Configure / Update Hook different thread

Hey,
I just notices something weird, the configure and update
hooks are called from different thread contexts. Is this
on purpose, or more like a bug ?
Greetings
    Janosch

Configure / Update Hook different thread

> On Oct 13, 2017, at 02:56, Janosch Machowinski <Janosch [dot] Machowinski [..] ...> wrote:
>
> Hey,
> I just notices something weird, the configure and update
> hooks are called from different thread contexts. Is this
> on purpose, or more like a bug ?

The deployer creates all components, loads properties/scripts/state-machines, and configures the components, within it’s own thread - effectively, main() - then the threads are started and updateHook occurs in the component’s own thread. Doing it otherwise could get quite complicated, so no, I don’t think that this is a bug.

HTH
S