From: Mark Wooding Date: Thu, 15 Dec 2011 00:55:01 +0000 (+0000) Subject: mtimeout.c: Restructure timeout handling to use explicit machine. X-Git-Tag: 1.2.7~7 X-Git-Url: https://git.distorted.org.uk/~mdw/misc/commitdiff_plain/f42ff973cd0e180e7decb57cd9818a3f18e635f7?hp=f42ff973cd0e180e7decb57cd9818a3f18e635f7 mtimeout.c: Restructure timeout handling to use explicit machine. An upcoming change makes the timeout handling rather more fiddly. Rather than have a huge pile of code to make it all work, encode the timeout behaviour as explicit instructions to a simple virtual machine. The instructions are assembled using preprocessor hacking. ---