Set the thread state to "bland" before calling functions so they don't inherit the pending signals and die. llvm-svn: 123869