Skip to content

Commit f2643f5

Browse files
committed
typo
1 parent 084b90c commit f2643f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/monthly/202405.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#+TITLE: 202405
22
#+DATE: 2024-06-02T22:18:59+0800
3-
#+LASTMOD: 2024-06-03T23:05:49+0800
3+
#+LASTMOD: 2024-06-04T19:26:01+0800
44

55
* 观点/教程
66
** [[https://arne.me/blog/thoughts-on-zig][Thoughts on Zig]]
@@ -26,7 +26,7 @@ Andrew 的一篇文章,讲述了在最新版的 Zig 中,对进度条的改
2626
* [[https://www.openmymind.net/Writing-a-Task-Scheduler-in-Zig/][Writing a task scheduler in Zig]]
2727
Openmymind 作者的又一力作,通过编写一个任务调度器,讲述了多线程编程的基本要领:
2828
- 共享的数据要加锁
29-
- 条件变量要和锁一起使用,会有[[https://en.wikipedia.org/wiki/Spurious_wakeup][惊群效应]],因此在被唤醒时,需要重新检查状态是否正确。
29+
- 条件变量要和锁一起使用,会有[[https://en.wikipedia.org/wiki/Spurious_wakeup][虚假唤醒]]的问题,因此在被唤醒时,需要重新检查状态是否正确。
3030
#+begin_src zig
3131
fn run(self: *Self) void {
3232
while (true) {

0 commit comments

Comments
 (0)