Dthread: add documentation

Signed-off-by: swpd <swpdtz@gmail.com>