Mutual exclusion must be enforced on any modifiable memory, whether is it shared or not.
Blog
A process can transition from running to suspended ready. Ho…
A process can transition from running to suspended ready. How does this transition differ between a single-core system and a multi-core system?
Mutual exclusion must be enforced only on memory that is bot…
Mutual exclusion must be enforced only on memory that is both shared and modifiable.
The difference between the “waiting” state and the “sleeping…
The difference between the “waiting” state and the “sleeping” state of threads is:
If separate tasks require heavy communication between them,…
If separate tasks require heavy communication between them, why use multiple threads within a process instead of multiple processes?
If you increase the speed of the front side bus (FSB) on a c…
If you increase the speed of the front side bus (FSB) on a computer, but the processor and RAM speeds remain the same, what is the most likely effect on overall performance?
Which line is illegal in a switch?
Which line is illegal in a switch?
Which expression is equivalent to x = x * 10;?
Which expression is equivalent to x = x * 10;?
What is printed by: int a[]={1,2,3}; printf(“%d”, a[1]);
What is printed by: int a[]={1,2,3}; printf(“%d”, a[1]);
Which control structure is best when the number of iteration…
Which control structure is best when the number of iterations is predetermined?