This commit is contained in:
chenyf 2024-02-24 10:10:20 +08:00
parent 58cc03b9b6
commit 1f11d41e9f
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ int main(void)
// }
// fock创建进程
// fock创建的子进程一般用来执行新的程序
/**
*
* 10s
* 1s后
*
*/
signal(SIGUSR1,weak_process);
pid_t pid = fork();
if (pid == 0)