mirror of
https://github.com/riba2534/TCP-IP-NetworkNote.git
synced 2026-02-07 03:53:18 +08:00
fix 代码显示问题
This commit is contained in:
@@ -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 <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
@@ -4968,7 +4968,7 @@ void *thread_des(void *arg)
|
||||
num -= 1;
|
||||
return NULL;
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
编译运行:
|
||||
|
||||
|
||||
@@ -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 <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
@@ -357,7 +357,7 @@ void *thread_des(void *arg)
|
||||
num -= 1;
|
||||
return NULL;
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
编译运行:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user