[Issue 11372] getpagesize() should be in core.memory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 4 10:41:45 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=11372

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Dmitry Olshansky from comment #2)
> Anyway I guess the point is that collector need to know page size anyway,
> and there is a global hidden somewhere deep that holds this size.

Was about to add an issue to suggest we expose this immutable. It's here:

https://github.com/dlang/druntime/blob/86cd40a036a67d9b1bff6c14e91cba1e5557b119/src/core/thread.d#L3619

Can I make a pull to provide access to this somewhere public? Alternatively, we
could just make the immutable public.

--


More information about the Digitalmars-d-bugs mailing list