ALSTOM Interview Question: Code with a thread started in... | Glassdoor

Interview Question

Engineer Interview Redmond, WA

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.
Answer

Interview Answer

1 Answer

2

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

Interview Candidate on Aug 26, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.