[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision ce94cd401df7d3b1a444028954e9602cfa85
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision ce94cd401df7d3b1a444028954e9602cfa851e4d |
Date: |
Sun, 9 Dec 2007 12:05:25 +0100 |
-----------------------------------------------------------------
Revision: ce94cd401df7d3b1a444028954e9602cfa851e4d
Ancestor: a0813120218871b9b1944d7bb216b9c37970044b
Author: address@hidden
Date: 2007-12-09T10:03:19
Branch: net.venge.monotone.experimental.win32_pipes
Modified files:
Makefile.am
ChangeLog:
Start fixing 'file:' and 'ssh:' netsync on Win32; they hang in some
situations. In netxx_pipe, split PipeStream into StdioStream,
SpawnedStream, use sockets instead of pipes. Compiles on Win32, fails
tests. Unix still under construction.
* Makefile.am (UNIX_PLATFORM_SOURCES):
(WIN32_PLATFORM_SOURCES): Add socketpair.c
* netsync.cc (build_stream_to_server): use SpawnedStream
(call_server): Use Probe
(drop_session_associated_with_fd): clean up; every session is in
session map exactly once.
(arm_sessions_and_calculate_probe): use Probe.
(serve_connections): Use Probe.
(serve_connections): Better name for 'other server'.
(serve_single_connection): Move stream, session creation here, use
StdioProbe. Only need to register the session under one socketfd,
even though there is another one.
(run_netsync_protocol): Move stream, session creation into
serve_single_connection.
* netxx/probe.h: Clean up whitespace. Change PipeCompatibleProbe to StdioProbe.
* netxx_pipe.hh:
* netxx_pipe.cc: Split PipeStream into StdioStream, SpawnedStream. Use
sockets instead of pipes.
* unix/socketpair.c: new file
* win32/socketpair.c: new file
* .mtn-ignore: Ignore more stuff created by building in the source tree.
monotone --db={your.database} diff
--revision=a0813120218871b9b1944d7bb216b9c37970044b
--revision=ce94cd401df7d3b1a444028954e9602cfa851e4d
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision ce94cd401df7d3b1a444028954e9602cfa851e4d,
monotone <=