summaryrefslogtreecommitdiff
path: root/ext/Thread/Thread.xs
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-16 23:06:55 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-16 23:06:55 +0000
commitb175a5c8eb30ca3f0df883b0a8ce7ab8f995c1c1 (patch)
tree813cc0557638198088fc2af25f3b8f02fc9edec7 /ext/Thread/Thread.xs
parent3e209e7147bec9694b511c058bf24a0b91ec8ac6 (diff)
downloadperl-b175a5c8eb30ca3f0df883b0a8ce7ab8f995c1c1.tar.gz
pthread_attr_setstacksize() isn't absolutely necessary
to call, only iff THREAD_CREATE_NEEDS_STACK. p4raw-id: //depot/perl@10651
Diffstat (limited to 'ext/Thread/Thread.xs')
-rw-r--r--ext/Thread/Thread.xs2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs
index b81ee26d9c..6cdc081256 100644
--- a/ext/Thread/Thread.xs
+++ b/ext/Thread/Thread.xs
@@ -284,8 +284,6 @@ newthread (pTHX_ SV *startsv, AV *initargs, char *classname)
err = pthread_attr_setstacksize(&attr, THREAD_CREATE_NEEDS_STACK);
if (err)
croak("panic: pthread_attr_setstacksize failed");
-#else
- croak("panic: can't pthread_attr_setstacksize");
# endif
# ifdef PTHREAD_ATTR_SETDETACHSTATE
if (err == 0)