Die Suche ergab 3 Treffer

von chw
19. Aug 2016 11:54
Forum: Archiv
Thema: Exercise 9-5.(d)
Antworten: 5
Zugriffe: 526

Re: Exercise 9-5.(d)

Hi, Stefan

Thanks for your hints!

So, the backup() process executes the waitpid and OOM killer kills the child(will the value ret be set to -1 if the child is killed?), so the backup() will just run again to fork() another child for the recovery?

Cheers
Luo
von chw
18. Aug 2016 23:28
Forum: Archiv
Thema: Exercise 9-5.(d)
Antworten: 5
Zugriffe: 526

Re: Exercise 9-5.(d)

Hi, Habib, thanks a lot for your answer, now I got it. And I have another question, which confused me for the last few weeks. In Midterm, as far as I can remember, there was a question about process pair backup(), what if the Out-Of-Memory Killer kills the process pair directly just before it goes t...
von chw
9. Aug 2016 12:18
Forum: Archiv
Thema: Exercise 9-5.(d)
Antworten: 5
Zugriffe: 526

Exercise 9-5.(d)

Hello, everyone, I have a question about the 5.(d) of Exercise 9. In the excise session, the tutor said(according to my notes), when the program is at state S5 during the search, in the cache S6, S3 and S7 will be recorded. Which means the state S7 has been visited twice? How could that happen? Best...

Zur erweiterten Suche