Is a function called within a thread still in the thread?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By orosmatthew

Basically, if I have something like

func func1(arg):

func func2(arg2):

Is that printed “Hello” still in the thread that was created or is it called on the main thread. I’m pretty new to threading so if I am misunderstanding something please let me know.

  • Matthew
:bust_in_silhouette: Reply From: rojekabc

You are still inside a thread.