The mechanism basically implements the same mechanism that practically all other script language (pithon) use when implementing real-threads.
The mechanism basically implements the same mechanism that practically all other scripting languages (e.g. python) use when implementing real threads.