ability to create threads (bug 946459)
Merge pull request #38 from ngokevin/newthread

create threads (bug 946459)