<![endif] [if lt IE 7]> <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> <![endif] Leandro Pereira Home About 11 August 2012 Golang has a lot of nice features – and one I found pretty interesting is called deferred statements . This can be implemented in C++ pretty easily through RAII , but in C we’re pretty much out of luck. Or are we? In lwan , I’m using my own home-cooked coroutine implementation. All requests are handled by coroutines, so that it makes easy to condition the execution of deferred statements with the cleanup of a coroutine. And that’s what I did, by implementing coro_defer() , which adds hooks that will be called...