![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 23.08.2021 18:10 suselygonza
Assume the binary variable lock is initialized to be 0, which of the following can be an implementation of the entry section to solve the critical-section problem?
Select one:
a. none of the other answers
b. both A and B
c. while (test and set(&lock)), do nothing;
d. while (compare and swap(&lock, 0, 1) != 0), do nothing;
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 05:00
Which best explains why a digital leader would join a society specializing in technology
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:30
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
You know the right answer?
Assume the binary variable lock is initialized to be 0, which of the following can be an implementat...
Questions
![question](/tpl/images/cats/istoriya.png)
History, 15.10.2019 21:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 15.10.2019 21:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
Business, 15.10.2019 21:30
![question](/tpl/images/cats/biologiya.png)
Biology, 15.10.2019 21:30
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.10.2019 21:30
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/en.png)
English, 15.10.2019 21:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/biologiya.png)