3 ms·
This is very much the same reasoning behind protothreads[1]. As a bonus, the implementation of protothreads uses a neat trick reminiscent of Duff's device [2].
by dimatura 12y ago
This is very much the same reasoning behind protothreads[1]. As a bonus, the implementation of protothreads uses a neat trick reminiscent of Duff's device [2].
[1] http://dunkels.com/adam/pt/ http://dunkels.com/adam/pt/
[2] http://en.wikipedia.org/wiki/Duff's_device http://en.wikipedia.org/wiki/Duff's_device