Pocket Gems Interview Question

Explain what critical section is. Explain what a dead lock is.

Interview Answer

Anonymous

Sep 24, 2013

A critical section is a piece of code that can only be executed by one process or thread at a time.A deadlock is a situation in which two or more competing actions are each waiting for the other to finish, and thus neither ever does.

1