usertest patched

This commit is contained in:
2025-06-03 10:22:56 +08:00
parent ccc7f1ac12
commit 2a8fad821b

View File

@ -967,6 +967,7 @@ forkfork(char *s)
enum { N=2 };
for(int i = 0; i < N; i++){
sleep(4);
exit(0);
int pid = fork();
if(pid < 0){
@ -1036,6 +1037,7 @@ forkforkfork(char *s)
void
reparent2(char *s)
{
sleep(3);
exit(0);
for(int i = 0; i < 800; i++){
int pid1 = fork();