summaryrefslogtreecommitdiff
path: root/intl/bindtextdom.c
diff options
context:
space:
mode:
authorscottc <scottc>2002-07-09 22:42:08 +0000
committerscottc <scottc>2002-07-09 22:42:08 +0000
commit8150f6ca02b5d76fdfdc2fb152f2341ca05fe9c7 (patch)
tree759179c91f8acd89619b626a118c17b283ce79e3 /intl/bindtextdom.c
parent68767dc64dd10c17e9f19ac27c8599a9dd2b2571 (diff)
downloadgdb-8150f6ca02b5d76fdfdc2fb152f2341ca05fe9c7.tar.gz
* 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 'intl/bindtextdom.c')
0 files changed, 0 insertions, 0 deletions