You have two options here: 1 and 3. 2 alone does not make the worker code execute in the second thread.
The 1st approach is useful if the parallized operation does not need an event loop, e.g. some form of blocking loop.
The other approach is useful if you need an event loop.
Cheers,
_
Bookmarks