Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
自己动手写操作系统
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
第十章 wait
7 views
Skip to first unread message
sung descent
unread,
Nov 23, 2012, 11:04:58 PM
11/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osfrom...@googlegroups.com
是不是有這樣的可能, parent process 執行 wait(), child process 執行 exit(1),
可是 do_wait() 先執行完後才輪到 do_exit();
這樣 parent process 在 wait() 後會得到 -1。
所以若遇到這樣, 應該還要繼續執行 wait()。
Reply all
Reply to author
Forward
0 new messages