diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-16 13:00:12 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-16 13:00:12 +0000 |
commit | 8e9464f100f3a92c77a6886c84855b4d1f587e2d (patch) | |
tree | 8d03f37ef55e70dc953d45fe8e88ba481b67a3e1 /ext/Thread | |
parent | b7dad2dc25528ee3fc23c1bca51116d48f988b04 (diff) | |
download | perl-8e9464f100f3a92c77a6886c84855b4d1f587e2d.tar.gz |
DG-UX threading patches, including a README.dgux,
from Takis Psarogiannakopoulos.
p4raw-id: //depot/perl@10121
Diffstat (limited to 'ext/Thread')
-rw-r--r-- | ext/Thread/Thread.xs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs index cb2e395051..c3b94eb6a8 100644 --- a/ext/Thread/Thread.xs +++ b/ext/Thread/Thread.xs @@ -280,6 +280,10 @@ newthread (pTHX_ SV *startsv, AV *initargs, char *classname) attr_inited = 1; err = pthread_attr_init(&attr); # ifdef PTHREAD_ATTR_SETDETACHSTATE +#ifdef DGUX + if (err == 0) + err = pthread_attr_setstacksize(&attr, (1024*16)); +#endif if (err == 0) err = PTHREAD_ATTR_SETDETACHSTATE(&attr, attr_joinable); |