[Top][All Lists]

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

Re: [Monotone-devel] Removing things from the database

From: Nathaniel Smith
Subject: Re: [Monotone-devel] Removing things from the database
Date: Fri, 18 Feb 2005 02:42:04 -0800
User-agent: Mutt/1.5.6+20040907i

On Fri, Feb 18, 2005 at 10:35:41AM +0100, Jon Bright wrote:
> Nathaniel Smith wrote:
> >On Thu, Feb 17, 2005 at 11:15:41PM +0100, Christof Petig wrote:
> >
> >>It's already in the (not really up to date) ssh branch ;-)
> >>monotone sync/push/pull file:/path/x.db collection opens a pipe to a
> >>different monotone process which serves the other database.
> >
> >Yep, that's what I was thinking of :-)
> >
> >This is still blocked on not having a sensible solution for Windows
> >support, right?
> Windows can't do pipes as such (afaik), but you could do 
> CreateFile/CreateFileMapping/MapViewOfFile - basically, the Windows 
> equivalent of mmap.  You could then use this shared mmaped block to pass 
> the data back and forth between the processes.  You could implement a 
> couple of wrapper functions to make this mmaped block look like a pipe 
> to the rest of the code.

Err... and how do you select()?

-- Nathaniel

"But in Middle-earth, the distinct accusative case disappeared from
the speech of the Noldor (such things happen when you are busy
fighting Orcs, Balrogs, and Dragons)."

reply via email to

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