提交 61c9c46d 编写于 作者: N Niko Matsakis 提交者: Brian Anderson

remove pthread_exit() from rust_start()

It was causing OS X Lion to hang and (according to Apple) is undefined
in any case
上级 100e0264
......@@ -109,12 +109,6 @@ rust_start(uintptr_t main_fn, int argc, char **argv,
free_env(env);
#if !defined(__WIN32__)
// Don't take down the process if the main thread exits without an
// error.
if (!ret)
pthread_exit(NULL);
#endif
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册