diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2021-07-12 16:14:38 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-27 04:48:26 -0400 |
commit | 8c5c27f11ea2832fd2870551f4bff22a8faaa87a (patch) | |
tree | 2792acab27e7d4bcff6de8b4e4f4451b30673cd3 /rts/posix/OSMem.c | |
parent | 63184a71277aa15608659ad20f45b7b0fe9746bc (diff) | |
download | haskell-8c5c27f11ea2832fd2870551f4bff22a8faaa87a.tar.gz |
Rename itimer to ticker in rts/posix for consistency.
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 |