[Issue 11372] getpagesize() should be in core.memory
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 26 13:12:50 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=11372
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry.olsh at gmail.com
--- Comment #2 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
> There is core.sys.posix.sys.shm.__getpagesize
Actually on POSIX it's obtained via sysconf and _SC_PAGESIZE.
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.
--
More information about the Digitalmars-d-bugs
mailing list