Are Semaphore P and V operations atomic?

Are the P() and V() operations that can be performed on a semaphore guarantee atomic? Can a semaphore prevent two processes getting into the P()?

10
задан Bobby 5 November 2011 в 16:21
поделиться