Test and Set usage
{
while NOT(testSet(lock)) do nothing;
CS
lock = 0;
RS;
}
Previous slide
Next slide
Back to first slide
View graphic version