Project

General

Profile

Bug #11319

RLIMIT_STACK: handle big/unlimited size better

Added by Roman Lebedev almost 3 years ago. Updated almost 3 years ago.

Status:
Fixed
Priority:
Medium
Assignee:
Category:
-
Target version:
Start date:
11/16/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

[dt_pthread_create] info: bumping pthread's stacksize from 2097152 to 18446744073709551615

% ulimit -a
-s: stack size (kbytes) unlimited

Associated revisions

Revision 6601fb77 (diff)
Added by Roman Lebedev almost 3 years ago

Syslimits: a bit better handling for RLIM_INFINITY. Fixes #11319

FIXME: did i break musl by splitting into 2 separate sizes?
WANTED_STACK_SIZE may need increasing...

History

#1 Updated by Roman Lebedev almost 3 years ago

config.h
#define WANTED_STACK_SIZE (262144)
#define WANTED_THREADS_STACK_SIZE (65536)

#2 Updated by Roman Lebedev almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

Also available in: Atom PDF

Go to top