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

Is it possiable to expose madvise() API? #46

Open
kornstar11 opened this issue Dec 10, 2014 · 1 comment
Open

Is it possiable to expose madvise() API? #46

kornstar11 opened this issue Dec 10, 2014 · 1 comment

Comments

@kornstar11
Copy link

Hello,
Thank you very much for Larray, it has worked perfectly so far. I would like to ask if it would be possible to expose the madvise API to the Java API. For what it looks like this is supported on Linux, and Mac OS. However, from what I can tell Windows may not support this feature:
http://stackoverflow.com/questions/1201168/what-is-fadvise-madvise-equivalent-on-windows

Anyways, with the exception of Windows, could this call be provided to the Java API.

Once again, Thank you for sharing Larray.

@xerial
Copy link
Owner

xerial commented Dec 12, 2014

It looks like madvise is defined in glibc, this task needs writing some C code and rebuilding native libraries. So technically it's possible.

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

No branches or pull requests

2 participants