diff options
author | wtc%google.com <devnull@localhost> | 2008-01-31 20:00:58 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-01-31 20:00:58 +0000 |
commit | 0c0b04d1363b1205eb3eeee91cf3e0848c27a35c (patch) | |
tree | 9f7eb63d7d2da7b0292e8d5b3dd18507238314d0 | |
parent | 0778fe252f9cf4bf883ddfa0314919f7d2a0d6d2 (diff) | |
download | nspr-hg-0c0b04d1363b1205eb3eeee91cf3e0848c27a35c.tar.gz |
Bug 414997: added a comment.
-rw-r--r-- | pr/src/pthreads/ptthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c index 1e3bef9b..d97c364c 100644 --- a/pr/src/pthreads/ptthread.c +++ b/pr/src/pthreads/ptthread.c @@ -599,6 +599,10 @@ PR_IMPLEMENT(PRStatus) PR_JoinThread(PRThread *thred) rv = pthread_detach(&id); PR_ASSERT(0 == rv); #endif + /* + * PR_FALSE, because the thread already called the TPD + * destructors before exiting _pt_root. + */ _pt_thread_death_internal(thred, PR_FALSE); } else |