late submission
This commit is contained in:
parent
588a35b929
commit
37eb6418b6
|
|
@ -204,7 +204,7 @@ int do_srv_fork()
|
||||||
/* Find a free pid for the child and put it in the table. */
|
/* Find a free pid for the child and put it in the table. */
|
||||||
new_pid = get_free_pid();
|
new_pid = get_free_pid();
|
||||||
rmc->mp_pid = new_pid; /* assign pid to child */
|
rmc->mp_pid = new_pid; /* assign pid to child */
|
||||||
|
printf("Minix: PID %d created\n", new_pid);
|
||||||
memset(&m, 0, sizeof(m));
|
memset(&m, 0, sizeof(m));
|
||||||
m.m_type = VFS_PM_SRV_FORK;
|
m.m_type = VFS_PM_SRV_FORK;
|
||||||
m.VFS_PM_ENDPT = rmc->mp_endpoint;
|
m.VFS_PM_ENDPT = rmc->mp_endpoint;
|
||||||
|
|
@ -242,6 +242,7 @@ int do_exit()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
exit_proc(mp, m_in.m_lc_pm_exit.status, FALSE /*dump_core*/);
|
exit_proc(mp, m_in.m_lc_pm_exit.status, FALSE /*dump_core*/);
|
||||||
|
printf("Minix: PID %d exited\n", mp->mp_pid);
|
||||||
}
|
}
|
||||||
return(SUSPEND); /* can't communicate from beyond the grave */
|
return(SUSPEND); /* can't communicate from beyond the grave */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user