0

Why does using the atomic operating system's system call of TSL doesn't provide us with a thread safe solution for more than two simultaneous threads \ processes?

Edited: I'm sorry for the mistake, I meant TSL and not test-and-set. Reference to wiki article - http://en.wikipedia.org/wiki/Test-and-set Specifically:

The test-and-set operation can solve the wait-free consensus problem for no more than two concurrent processes.

vondip
  • 13,809
  • 27
  • 100
  • 156

0 Answers0