Millet Porridge

English version of https://corvo.myseu.cn

0%

Recently while writing multithreaded programs I hit problems using condition variables; one confusing point is spurious wakeups. The problem seems absurd, so I researched some documentation and wrote test programs — sharing it all here.

Read more »

When writing Markdown in Vim, too many sections look messy — showing tags and folding then becomes important. This post first introduces how to define your own code folding.

Read more »