[parrot/parrot] e43de9: Try to change around fill logic so that socket.rea...

GitHub noreply at github.com
Sat Aug 25 12:12:40 UTC 2012


  Branch: refs/heads/whiteknight/io_cleanup1
  Home:   https://github.com/parrot/parrot
  Commit: e43de96fc91d01ca57f5211a951574ca40dcad22
      https://github.com/parrot/parrot/commit/e43de96fc91d01ca57f5211a951574ca40dcad22
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-08-25 (Sat, 25 Aug 2012)

  Changed paths:
    M src/io/buffer.c
    M src/io/utilities.c
    M src/pmc/socket.pmc

  Log Message:
  -----------
  Try to change around fill logic so that socket.readline won't hang by trying to recv too often.


  Commit: d6882a953d7e4e28db7f14bf9df73ca9d3b63ded
      https://github.com/parrot/parrot/commit/d6882a953d7e4e28db7f14bf9df73ca9d3b63ded
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-08-25 (Sat, 25 Aug 2012)

  Changed paths:
    M src/io/utilities.c

  Log Message:
  -----------
  When doing a read ith PIO_READ_SIZE_ANY, just dump the current contents of the buffer. Only fill the buffer if it's empty or contains less than a single codepoint.


Compare: https://github.com/parrot/parrot/compare/53282f3e77a1...d6882a953d7e


More information about the parrot-commits mailing list