From: Johannes Schindelin Date: Wed, 20 Apr 2016 12:19:16 GMT Subject: Re: [PATCH v5 03/15] index-helper: new daemon for caching index and related stuff Message-ID: In-Reply-To: Hi Duy, On Wed, 20 Apr 2016, Duy Nguyen wrote: > On Wed, Apr 20, 2016 at 6:27 AM, David Turner wrote: > > Shared memory is done by storing files in a per-repository temporary > > directory. This is more portable than shm (which requires > > posix-realtime and has various quirks on OS X). It might even work on > > Windows, although this has not been tested. > > There's another option, but I'm not sure if it's too clever/tricky to > do. Anyway, on *nix we can send file descriptors over unix socket [2], > then mmap them back to access content. This sounds too clever to me ;-) Ciao, Dscho