fix 代码显示问题

This commit is contained in:
riba2534
2019-02-03 16:10:49 +08:00
parent 2cf42c293d
commit 19500a1caf
2 changed files with 4 additions and 4 deletions

View File

@@ -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) - [thread4.c](https://github.com/riba2534/TCP-IP-NetworkNote/blob/master/ch18/thread4.c)
```c ```c
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
@@ -4968,7 +4968,7 @@ void *thread_des(void *arg)
num -= 1; num -= 1;
return NULL; return NULL;
} }
``` ```
编译运行: 编译运行:

View File

@@ -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) - [thread4.c](https://github.com/riba2534/TCP-IP-NetworkNote/blob/master/ch18/thread4.c)
```c ```c
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
@@ -357,7 +357,7 @@ void *thread_des(void *arg)
num -= 1; num -= 1;
return NULL; return NULL;
} }
``` ```
编译运行: 编译运行: