From d427895198cb75311c415bec15ae2de75c33853b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E6=B4=AA=E6=B4=8B?= <97099566+yhy0816@users.noreply.github.com> Date: Wed, 9 Oct 2024 20:30:04 +0800 Subject: [PATCH] =?UTF-8?q?Update=2005=E5=86=85=E5=AD=98=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E4=B8=8E=E5=8E=9F=E5=AD=90=E6=93=8D=E4=BD=9C.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 拼写错误 Signed-off-by: 于洪洋 <97099566+yhy0816@users.noreply.github.com> --- ...70\216\345\216\237\345\255\220\346\223\215\344\275\234.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/md/05\345\206\205\345\255\230\346\250\241\345\236\213\344\270\216\345\216\237\345\255\220\346\223\215\344\275\234.md" "b/md/05\345\206\205\345\255\230\346\250\241\345\236\213\344\270\216\345\216\237\345\255\220\346\223\215\344\275\234.md" index 94e41e85..1b576d77 100644 --- "a/md/05\345\206\205\345\255\230\346\250\241\345\236\213\344\270\216\345\216\237\345\255\220\346\223\215\344\275\234.md" +++ "b/md/05\345\206\205\345\255\230\346\250\241\345\236\213\344\270\216\345\216\237\345\255\220\346\223\215\344\275\234.md" @@ -228,7 +228,7 @@ struct trivial_type { > > 最后强调一下:任何 [std::atomic](https://zh.cppreference.com/w/cpp/atomic/atomic) 类型,**初始化不是原子操作**。 -### `st::atomic_flag` +### `std::atomic_flag` `std::atomic_flag` 是最简单的原子类型,这个类型的对象可以在两个状态间切换:**设置(true)**和**清除(false)**。它很简单,通常只是用作构建一些库设施,不会单独使用或直接面向普通开发者。 @@ -815,4 +815,4 @@ RISC-V 采用的也是**弱序内存模型**(weakly-ordered memory model), \ No newline at end of file +-->