monotone-devel
[Top][All Lists]
Advanced

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

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


From: Jon Bright
Subject: Re: [Monotone-devel] Removing things from the database
Date: Fri, 18 Feb 2005 10:35:41 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

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.

--
Jon Bright
Silicon Circus Ltd.
http://www.siliconcircus.com




reply via email to

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