Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is shared memory?
Think of it as a common area in memory.
How do you map shared memory in C?
Recall the function name associated with mapping.
What is shared memory used for?
Think about why processes should share data rather than copy.
True or False: Shared memory is a slow method of inter-process communication.
Recall how shared memory works compared to other methods.
Design a program using shared memory to allow two processes to communicate. What would your overall structure look like?
Think about how to synchronize the two processes' access.
Identify potential pitfalls of using shared memory and describe how you would manage them.
Consider tools or methods used to prevent conflicts.
4 more questions in this section. Enroll free to practise them all.
Enroll free