Modify the test to spawn a user thread if it is running with userspace enabled. This allows testing coredump when the crashing thread is a user thread. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
return
#if IS_ENABLED()