Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Scott <conrad.scott@dsl.pipex.com>2002-07-10 02:42:08 +0400
committerConrad Scott <conrad.scott@dsl.pipex.com>2002-07-10 02:42:08 +0400
commitdf70c4fb8e6754ff81bd25c480d358586f223c0c (patch)
tree0559a6c41efae3a899fb3330a3855b3098fd2332 /winsup/cygserver
parentb1db114f6428cbe415fbb1401f85cafb1b6a7aa0 (diff)
* cygserver_transport_pipes.cc: The main change is to make the
client try harder to connect to the server if it's previously connected, and so has good grounds for believing that the server is running. (MAX_WAIT_NAMED_PIPE_RETRY): Change to be an enumerator. (WAIT_NAMED_PIPE_TIMEOUT): Ditto. (transport_layer_pipes::accept): Use interlocked operators on `pipe_instance'. (transport_layer_pipes::close): Rearrange so that FlushFileBuffers and DisconnectNamedPipe are only called for accepted endpoints. Use interlocked operators on `pipe_instance'. (transport_layer_pipes::read): Use set_errno where required. (transport_layer_pipes::write): Ditto. (transport_layer_pipes::connect): Add local static variable `assume_cygserver'. Set it if a connection is made to cygserver, clear it if a connection is not made even after retrying. If set, ignore all errors from CreateFile and retry the connection. Catch the situation where WaitNamedPipe fails to wait [sic] and add a `Sleep (0)' so that the server gets a chance to run.
Diffstat (limited to 'winsup/cygserver')
0 files changed, 0 insertions, 0 deletions