Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function for determining mmap status missing #4464

Closed
vicuna opened this issue Dec 4, 2007 · 2 comments
Closed

Function for determining mmap status missing #4464

vicuna opened this issue Dec 4, 2007 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Dec 4, 2007

Original bug ID: 4464
Reporter: @mmottl
Status: acknowledged (set by @damiendoligez on 2007-12-06T14:35:02Z)
Resolution: open
Priority: normal
Severity: feature
Version: 3.11+dev
Category: otherlibs
Monitored by: @Chris00 @mmottl

Bug description

It is currently not possible to determine from within OCaml whether a bigarray is memory-mapped or not. Could you please add such a function to the bigarray module? - Thanks!

@mshinwell
Copy link
Contributor

It doesn't look like anyone has had time since 2007 to implement this, so I'm going to close the issue. @mmottl If you would still like this functionality, perhaps you could submit a PR? (Note that the bigarray code was refactored recently and part of it is now in the stdlib.)

@mmottl
Copy link
Contributor

mmottl commented Apr 20, 2020

@mshinwell This is apparently an ancient request on behalf of Jane Street. I believe it was intended to determine whether operations on passed bigarrays could conceivably block for a long time. I personally don’t need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants