Added test for detaching threads.
Improved documentation of thread.
Authored by: crowbar27 2013-05-31
Parent: [r224]
Child: [r226]