Dthread: add documentation

Signed-off-by: swpd <swpdtz@gmail.com>
Merge pull request #20 from swpd/dthread

Dthread: add documentation