Pregunta de entrevista de ALSTOM

Code with a thread started in a static initializer. Interviewer said it would cause a deadlock. Code might have caused a race condition, but no global was ever locked by either thread.

Respuesta de la entrevista

Anónimo

26 ago 2012

Maybe they should vet their interviewers........

3