“A network of computing and storage resources that enable the delivery of shared applications and data.” (CISCO)
yield()
// 只可能是 1122 或 2211 void T1() { printf("1"); printf("1"); yield(); } void T2() { printf("2"); printf("2"); yield(); }
Do not communicate by sharing memory; instead, share memory by communicating. ——Effective Go
cat *.txt | wc -l