GithubHelp home page GithubHelp logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Since I happened to be in the neighborhood (see also issue 39) I put a loop 
around the call to select() in cthelper.c, and added a timeout... A timeout of 
a second or more does nothing interesting, but I/O seems to increase in inverse 
proportion to timeouts under a second, e.g. a timeout of .5 seconds causes the 
I/O to double, even though .5 seconds is an eternity for a modern PC. :) I 
tried to do a minimally-complete test case outside of puttycyg but had a tough 
time... select() on e.g. stdin/stdout didn't seem to have a problem, but I 
couldn't easily replicate the pipe created by setup_child/pty_fork/etc. Wonder 
if that's relevant...

Original comment by [email protected] on 8 Jul 2010 at 12:14

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
The I/O is all being done inside the call to select().  Looking at 
winsup/cygwin/select.cc, it seems likely that we are looping in 
select_stuff::wait() -- not sure why.  We should have a pipe, a tty (master) 
and a socket; maybe one of these is difficult to wait on, or maybe the  
combination is difficult to multiplex?

I'll try and build a debugging version of cygwin1 and see if I can pin it down. 
 No promise on a timeline. :)

Original comment by medgar123 on 29 Oct 2010 at 12:02

from puttycyg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.