[app][tests] add some test cases for thread_detach/thread_join behavior
[app][tests] add some test cases for thread_detach/thread_join behavior

sndnvaps/lk,ErikCorryGoogle/lk,minglun-tsai/lk,sndnvaps/lk,hollanderic/lkstuff,nvll/lk,ErikCorryGoogle/lk,GCrean/lk,grub4android/lk,minglun-tsai/lk,sndnvaps/lk,srodrig1/lk,ErikCorryGoogle/lk,skabet/lk,littlekernel/lk,minglun-tsai/lk,sndnvaps/lk,srodrig1/lk,grub4android/lk,GCrean/lk,hollanderic/lkstuff,skabet/lk,littlekernel/lk,nvll/lk,travisg/lk,srodrig1/lk,sndnvaps/lk,minglun-tsai/lk,grub4android/lk,littlekernel/lk,hollanderic/lkstuff,skabet/lk,travisg/lk,grub4android/lk,travisg/lk,hollanderic/lkstuff,GCrean/lk,littlekernel/lk,travisg/lk,skabet/lk,skabet/lk,GCrean/lk,grub4android/lk,GCrean/lk,srodrig1/lk,ErikCorryGoogle/lk,nvll/lk,srodrig1/lk,nvll/lk,nvll/lk