while(true) {
- for i in 流[] {
+ for i in stream[] {
if(i has data) {
read/ other process
}
@@ -244,8 +244,8 @@ Linux 网络I/O复用并发模型
select:
while(true) {
- select(流[]); // 阻塞 max 1024个
- for i in 流[] {
+ select(stream[]); // 阻塞 max 1024个
+ for i in stream[] {
if(i has data) {
read/ other process
}
diff --git a/public/posts/map-reduce/index.html b/public/posts/map-reduce/index.html
index 87320e5..5d8cddb 100644
--- a/public/posts/map-reduce/index.html
+++ b/public/posts/map-reduce/index.html
@@ -104,7 +104,7 @@
-
+
diff --git a/public/posts/react/index.html b/public/posts/react/index.html
index 70a46c6..2cd690c 100644
--- a/public/posts/react/index.html
+++ b/public/posts/react/index.html
@@ -102,7 +102,7 @@
-
+
@@ -257,6 +257,12 @@ React