NVIDIA Interview Question Software Engineer / Developers
0of 0 voteshe drew a diagram on the white board, asked me this synchronization problem abt 2 processes trying to communicate with the hardware. there was 1 bit register on the hardware u can use as extra memory if u want. there were several approaches i tried, some which wouldnt work, the rest im not sure if they were right. in the end he said now give me a solution if it were a multi processor system. i didnt really say much after that. was pretty stuck.

he wanted you to answere TSL (Test and Set lock) which is used for mutual exclusion for multi processor systems. it uses swapatomic.
- rasmus on July 14, 2011 Edit | Flag Reply