monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] Revision ce94cd401df7d3b1a444028954e9602cfa851e


From: monotone
Subject: [Monotone-commits-diffs] 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.

Attachment: txty5H_onRdqh.txt
Description: Diff [a0813120218871b9b1944d7bb216b9c37970044b] -> [ce94cd401df7d3b1a444028954e9602cfa851e4d]


reply via email to

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