diff --git a/README.md b/README.md index f2a2192..cac6aa7 100644 --- a/README.md +++ b/README.md @@ -4922,7 +4922,7 @@ gcc thread3.c -D_REENTRANT -o tr3 -lpthread - [thread4.c](https://github.com/riba2534/TCP-IP-NetworkNote/blob/master/ch18/thread4.c) - ```c +```c #include #include #include @@ -4968,7 +4968,7 @@ void *thread_des(void *arg) num -= 1; return NULL; } - ``` +``` 编译运行: diff --git a/ch18/README.md b/ch18/README.md index 9cd26e3..b017070 100644 --- a/ch18/README.md +++ b/ch18/README.md @@ -311,7 +311,7 @@ gcc thread3.c -D_REENTRANT -o tr3 -lpthread - [thread4.c](https://github.com/riba2534/TCP-IP-NetworkNote/blob/master/ch18/thread4.c) - ```c +```c #include #include #include @@ -357,7 +357,7 @@ void *thread_des(void *arg) num -= 1; return NULL; } - ``` +``` 编译运行: