Implementing simple cooperative threads in C | Hacker News Reader