Hi, > There is no way to do this. By messing around with Linux-specific > mmap() flags, you can get Linux to prepage the whole file, paying the > entire cost at once,
Yes. These methods don't strike me as a very good way forward. I was thinking more along the lines of executing FFI calls in a (pool of?) pthreads. That would solve the issue for mmap callers as well as any APIs which had underlying blocking calls of any type. Regards, @ndy -- andy...@ashurst.eu.org http://www.ashurst.eu.org/ 0x7EBA75FF _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers