Pregunta de entrevista de NVIDIA

What are read-write semaphores and how does it degrade performance in a mulch-processor environment.

Respuesta de la entrevista

Anónimo

15 sep 2011

Similar to the above question when one process A on a CPU 0 acquires a write lock on a semaphore variable then if other process B on CPU 1 has acquired a read lock (something like this) then there is flushing required of the cache! (Did not understand what the interviewer explained :) )