I have a candidate mmap implementation for guile (3.0.8) in
github.com/mwette/guile-contrib/patch/3.0.8/mmap-api.patch
It probably needs some review and update. Maybe windows mmap-file would be
nice.
I'm not sure I updated the configure correctly but --disable-mmap-api should
remove.
Appologies: link is
https://github.com/mwette/guile-contrib/blob/main/patch/3.0.8/mmap-api.patch
On 6/26/22 8:37 AM, Matt Wette wrote:
I have a candidate mmap implementation for guile (3.0.8) in
github.com/mwette/guile-contrib/patch/3.0.8/mmap-api.patch
It probably needs some review and u
On Sun, 26 Jun 2022, Matt Wette wrote:
> flags
>(logior MAP_ANON MAP_PRIVATE)
Why MAP_ANON instead of MAP_ANONYMOUS. The latter is more clear and you
don't have to care about compatibility like C does.
Also, does MAP_FIXED or MAP_FIXED_NOREPLACE is passed to `flags' if
`(not (
Some old mmap things that might be useful:
* https://lists.nongnu.org/archive/html/guile-devel/2013-04/msg00235.html
* https://lists.gnu.org/archive/html/bug-guile/2017-11/msg00033.html
* https://lists.gnu.org/archive/html/guile-user/2006-11/msg00013.html
+SCM_DEFINE (scm_mmap_search, "mmap/searc
Matt Wette schreef op zo 26-06-2022 om 08:37 [-0700]:
> scheme@(guile-user)> ,d mmap/search
> - Scheme Procedure: mmap/search addr len [prot [flags [fd [offset
> See the unix man page for mmap. Returns a bytevector. Note that
> the region allocated will be searched by the garbage