Rewrote doc for set-get number of threads functionality with support new frameworks (bug #2064)