A critical region is a section of code that essentially contains a variable(s) that can be accessed by
multiple threads, but will affect the operation of the entire program, or system. Correctness relies on
critical regions not being modified by two or more different processes at the same time.
Titany answered the question on April 26, 2022 at 05:20
-
What is a race condition? Give an example
(Solved)
What is a race condition? Give an example
Date posted:
April 26, 2022
.
Answers (1)
-
Context switching between two threads of execution within the operating system is
usually performed by a small assembly language function. In general terms, what does this
small...
(Solved)
Context switching between two threads of execution within the operating system is
usually performed by a small assembly language function. In general terms, what does this
small function do internally?
Date posted:
April 26, 2022
.
Answers (1)
-
Enumerate the advantages and disadvantages of supporting multi-threaded applications
with kernel-level threads
(Solved)
Enumerate the advantages and disadvantages of supporting multi-threaded applications
with kernel-level threads
Date posted:
April 26, 2022
.
Answers (1)
-
Why are user-level threads packages generally cooperatively scheduled?
(Solved)
Why are user-level threads packages generally cooperatively scheduled?
Date posted:
April 26, 2022
.
Answers (1)
-
Name some advantages and disadvantages of user-level threads
(Solved)
Name some advantages and disadvantages of user-level threads
Date posted:
April 26, 2022
.
Answers (1)
-
Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such...
(Solved)
Describe how a multi-threaded application can be supported by a user-level threads package. It may be helpful to consider (and draw) the components of such a package, and the function they perform
Date posted:
April 26, 2022
.
Answers (1)
-
What is a process? What are attributes of a process?
(Solved)
What is a process? What are attributes of a process?
Date posted:
April 26, 2022
.
Answers (1)
-
Multi-programming (or multi-tasking) enables more than a single process to apparently execute simultaneously. How is this achieved on a uniprocoessor?
(Solved)
Multi-programming (or multi-tasking) enables more than a single process to apparently execute simultaneously. How is this achieved on a uniprocoessor?
Date posted:
April 25, 2022
.
Answers (1)
-
Describe the three state process model, describe what transitions are valid between the
three states, and describe an event that might cause such a transition
(Solved)
Describe the three state process model, describe what transitions are valid between the
three states, and describe an event that might cause such a transition
Date posted:
April 25, 2022
.
Answers (1)
-
Is putting security checks in the C library a good or a bad idea? Why?
(Solved)
Is putting security checks in the C library a good or a bad idea? Why?
Date posted:
April 25, 2022
.
Answers (1)
-
Why must the operating system be more careful when accessing input to a system call (or
producing the result) when the data is in memory...
(Solved)
Why must the operating system be more careful when accessing input to a system call (or
producing the result) when the data is in memory instead of registers?
Date posted:
April 25, 2022
.
Answers (1)
-
Describe the two general roles of an operating system, and elaborate why these roles are
important
(Solved)
Describe the two general roles of an operating system, and elaborate why these roles are
important
Date posted:
April 25, 2022
.
Answers (1)
-
Name three non electronic tools that were used before the invention of electronic computers.
(Solved)
Name three non electronic tools that were used before the invention of electronic computers.
Date posted:
July 23, 2021
.
Answers (1)
-
Write the following acronyms in full.
i. ICT
ii. CPU
iii. VLSI
iv. UPS
(Solved)
Write the following acronyms in full.
i. ICT
ii. CPU
iii. VLSI
iv. UPS
Date posted:
July 23, 2021
.
Answers (1)
-
Define the term troubleshooting as used in operating systems.
(Solved)
Define the term troubleshooting as used in operating systems.
Date posted:
July 23, 2021
.
Answers (1)
-
Explain how you can partition a hard disk into partitions.
(Solved)
Explain how you can partition a hard disk into partitions.
Date posted:
July 23, 2021
.
Answers (1)
-
What is a startup disk?
(Solved)
What is a startup disk?
Date posted:
July 23, 2021
.
Answers (1)
-
Explain how you would create backup using Windows back-up using utility.
(Solved)
Explain how you would create backup using Windows back-up using utility.
Date posted:
July 23, 2021
.
Answers (1)
-
You have realized that your floppy disk is limited in storage space and you would wish to create more space.
Which tool in Windows would you...
(Solved)
You have realized that your floppy disk is limited in storage space and you would wish to create more space.
Which tool in Windows would you use?
Date posted:
July 23, 2021
.
Answers (1)
-
Explain how you would move the taskbar to the top of the desktop.
(Solved)
Explain how you would move the taskbar to the top of the desktop.
Date posted:
July 23, 2021
.
Answers (1)