From 61c9c46d944beeefb3fa2a6ca5501dbad8590537 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 5 Oct 2011 15:25:50 -0700 Subject: remove pthread_exit() from rust_start() It was causing OS X Lion to hang and (according to Apple) is undefined in any case --- src/rt/rust.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/rt/rust.cpp') diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index 6d9243b8558..122c7b306bf 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -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; } -- cgit 1.4.1-3-g733a5