Created by: solsta
Added changes for norec to work with pmdk and an example of multithreaded applicaion.