Share code between TaskThread and TaskFiber
Merge pull request #209 from halorgium/task-sharing

Share lots more code between TaskFiber and TaskThread