A copy of http://swtch.com/libtask/