From 45f9d5fec02fc1671955a98139ffce7d8ed4a12a Mon Sep 17 00:00:00 2001 From: hding Date: Sat, 6 May 2023 11:13:23 +0800 Subject: [PATCH] fix the title of item36 --- README.md | 2 +- src/SUMMARY.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2894b99..e2b9082 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ 4. [Item 34:优先考虑lambda表达式而非std::bind](src/6.LambdaExpressions/item34.md) 7. __并发API__ 1. [Item 35:优先考虑基于任务的编程而非基于线程的编程](src/7.TheConcurrencyAPI/Item35.md) - 2. [Item 36:如果有异步的必要请指定std::launch::threads](src/7.TheConcurrencyAPI/item36.md) + 2. [Item 36:如果有异步的必要请指定std::launch::async](src/7.TheConcurrencyAPI/item36.md) 3. [Item 37:从各个方面使得std::threads unjoinable](src/7.TheConcurrencyAPI/item37.md) 4. [Item 38:关注不同线程句柄析构行为](src/7.TheConcurrencyAPI/item38.md) 5. [Item 39:考虑对于单次事件通信使用void](src/7.TheConcurrencyAPI/item39.md) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index fd6a9ee..2836a43 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -41,11 +41,11 @@ - [Item 34:优先考虑lambda表达式而非std::bind](./6.LambdaExpressions/item34.md) - [第七章 并发API]() - [Item 35:优先考虑基于任务的编程而非基于线程的编程](./7.TheConcurrencyAPI/Item35.md) - - [Item 36:如果有异步的必要请指定std::launch::threads](./7.TheConcurrencyAPI/item36.md) + - [Item 36:如果有异步的必要请指定std::launch::async](./7.TheConcurrencyAPI/item36.md) - [Item 37:从各个方面使得std::threads unjoinable](./7.TheConcurrencyAPI/item37.md) - [Item 38:关注不同线程句柄析构行为](./7.TheConcurrencyAPI/item38.md) - [Item 39:考虑对于单次事件通信使用void](./7.TheConcurrencyAPI/item39.md) - [Item 40:对于并发使用std::atomic,volatile用于特殊内存区](./7.TheConcurrencyAPI/item40.md) - [第八章 微调]() - [Item 41:对于那些可移动总是被拷贝的形参使用传值方式](./8.Tweaks/item41.md) - - [Item 42:考虑就地创建而非插入](./8.Tweaks/item42.md) \ No newline at end of file + - [Item 42:考虑就地创建而非插入](./8.Tweaks/item42.md)