I tried to search for similar questions in SO, and also on the web, but no hits.
tl;dr: What happens in the threading logic when both, references and in-