[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] mmap (was: Re: library unit restructuring)

From: Andy Bennett
Subject: [Chicken-hackers] mmap (was: Re: library unit restructuring)
Date: Thu, 10 Jul 2014 13:46:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0

I'm resending this as I don't appear to have received it back from the

-------- Original Message --------
Subject: mmap (was: Re: [Chicken-hackers] library unit restructuring)
Date: Wed, 09 Jul 2014 14:56:38 +0100
From: Andy Bennett <address@hidden>
To: Felix Winkelmann <address@hidden>,


>   - memory-mapped-files

Without wishing to hijack the entire thread, as an aside, is there any
way of making memory mapped files play nicely with the CHICKEN scheduler
and threading model? It's possible for memory mapped files to cause a
page fault which will then wait for I/O and, as I understand it, that
will block the entire runtime.

The background to this is that I've been thinking of switching on mmap
support in my SQLite database. AIUI, the Sqlite API is blocking anyway
and even the existing read calls underneath the FFI call with block the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]