Support for THREADED and BOOSTIO branches.
Merge pull request #213 from ktf/support-threaded

Support for THREADED and BOOSTIO branches.