aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/ose/ethread.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-12-11 19:08:10 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:03 +0100
commit6930aacf7236bbf1db67c8ad1bc1953127ac43f9 (patch)
tree69cc8fa5d42aadf3fbf2cc6b8c1b39ff46b5a05a /erts/lib_src/ose/ethread.c
parent809ee10f37bac29b3056f4fb09c072b951e29f0c (diff)
downloadotp-6930aacf7236bbf1db67c8ad1bc1953127ac43f9.tar.gz
otp-6930aacf7236bbf1db67c8ad1bc1953127ac43f9.tar.bz2
otp-6930aacf7236bbf1db67c8ad1bc1953127ac43f9.zip
ose: Shutdown cleanly
Diffstat (limited to 'erts/lib_src/ose/ethread.c')
-rw-r--r--erts/lib_src/ose/ethread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/ose/ethread.c b/erts/lib_src/ose/ethread.c
index f3cb4ed0ec..bde85f9f87 100644
--- a/erts/lib_src/ose/ethread.c
+++ b/erts/lib_src/ose/ethread.c
@@ -180,7 +180,7 @@ static OS_PROCESS(thr_wrapper)
res = result == 0 ? (*thr_func)(arg) : NULL;
- thr_exit_cleanup(&my_tid, res);
+ ethr_thr_exit(&res);
}
/* internal exports */