Skip to content

Commit 24a08f3

Browse files
Update p1-thread.md
1 parent 7975225 commit 24a08f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lec11/p1-thread.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,16 @@ int pthread_join(pthread_t thread, void **retval);
264264
- thread指向pthread_t结构类型的指针
265265
- retval是指向返回值的指针
266266

267+
调用 pthread_join 的线程会阻塞,直到目标线程终止。
268+
267269
---
268270

269271
**提纲**
270272

271273
1. 为何需要线程?
272274
2. 线程的概念
273275
### 3. 使用线程
274-
4. 线程的设计实现
276+
1. 线程的设计实现
275277

276278
---
277279

0 commit comments

Comments
 (0)