diff options
Diffstat (limited to 'rts/posix/OSMem.c')
-rw-r--r-- | rts/posix/OSMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index 30d9981f16..f27e5ee0d2 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -588,7 +588,7 @@ void *osReserveHeapMemory(void *startAddressPtr, W_ *len) /* Make sure we leave enough vmem for at least three threads. This number was found through trial and error. We're at least launching - that many threads (e.g., itimer). We can't know for sure how much we need, + that many threads (e.g., itimer/ticker). We can't know for sure how much we need, but at least we can fail early and give a useful error message in this case. */ if (((W_) (asLimit.rlim_cur - *len )) < ((W_) (stacksz * 3))) { // Three stacks is 1/3 of needed, then convert to Megabyte |