Intel Corporation interview question

Bit masks, deadlock scenarios