Kadencehm61141 Kadencehm61141
  • 09-11-2020
  • Computers and Technology
contestada

If after a call to fork, we want any updates to memory by the parent process to be visible to the child process, and vice-versa, what flag should be included in the fourth argument of mmap?

Respuesta :

ogorwyne
ogorwyne ogorwyne
  • 10-11-2020

Answer:

MAP_SHARED

Explanation:

The MAP_SHARED should be included in the 4th argument of map. When we have a MAP_SHARED set, then we have it that it is preserved across a fork2 system call.

It is visible immediately in every parent, siblings or child processes. This is to say that any change that is made to this mapping is immediately seen by readers.

Answer Link

Otras preguntas

How long has photography as we know it existed?
what is a sun dried bick used to make some american indian homes
In total. how many people died in WWII. Axis, allies, military, and civillians.
Given the measure of arc AC is 114, what is the measure of angle ADC
How may inventions if paper moneyand woodblock printing have been linked
Why might Winterbourne be envious of Daisy? She is wealthier than he is. She has a great deal of youthful optimism. She is more attractive than Winterbourne. Sh
How do you solve for b and c?
Read the excerpt from The Odyssey. 'Aye He'll smash our timbers and our heads together!' I would not heed them in my glorying spirit, but let my anger flare an
You want to measure wind speed. You'll grab _____. a wind vane a psychrometer an anemometer a barometer
Which terms names that are played smoothly with no separation between them? A. Staccato B. Legato C. Eighth notes D. Piano