Question d’entretien chez Goldman Sachs

How to pass variable from one thread to other?