diff options
Diffstat (limited to 'src/libthread/thread.c')
-rw-r--r-- | src/libthread/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c index c84af855..d041efcc 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -429,6 +429,7 @@ Out: unlock(&p->lock); _threadsetproc(nil); free(p); + _threadpexit(); } void |