summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-01-14 00:31:07 +0000
committerwtc%netscape.com <devnull@localhost>2000-01-14 00:31:07 +0000
commitcab47394c0bf200c4f1a0f24aad15a206245ceb4 (patch)
tree85072a46b981fc6585acab6e754143dbdff0abd3
parent23dbd04a71341943be2e3da0fc13fd73c325b05a (diff)
downloadnspr-hg-cab47394c0bf200c4f1a0f24aad15a206245ceb4.tar.gz
Removed the assertion in PR_JoinThread. Returning PR_FAILURE is enough.
-rw-r--r--pr/src/pthreads/ptthread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c
index 49f08da1..8e81c202 100644
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -514,8 +514,6 @@ PR_IMPLEMENT(PRStatus) PR_JoinThread(PRThread *thred)
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
PR_LogPrint(
"PR_JoinThread: 0x%X not joinable | already smashed\n", thred);
-
- PR_ASSERT(!"Illegal thread join attempt");
}
else
{