If this occurs, what is the parent or family's responsibility?
如果发生这种情况,什么是父母或家庭的责任?
This is just needed to tell ObjectGrid that in a complex graph of objects, the Employee object is the parent or root object.
这仅仅是为了告知objectgrid在复杂的对象图中,Employee对象是父对象或根对象。
With the return value of fork in mind, the code can now check to see if it is the parent or child process and act accordingly.
考虑到fork的返回值,现在该代码可以检查确定它是父进程还是子进程,并进行相应的操作。
应用推荐