--- Ralf S. Engelschall [EMAIL PROTECTED] wrote:
On Sun, Jul 13, 2003, Damon Hastings wrote:
[...]
See the file test_common.c in the Pth source tree. It provides a
pth_readline() function (just a small but sufficient buffered wrapper
around pth_read()) which should do exactly what
--- David Schwartz [EMAIL PROTECTED] wrote:
Ah, well, I meant that a state machine must store state
explicitly, whereas
with threaded code the state is implied in the code flow (in effect, the
thread system itself is a state machine.) If each thread
executes a simple
function like
--- Ralf S. Engelschall [EMAIL PROTECTED] wrote:
On Fri, Jul 11, 2003, Damon Hastings wrote:
This is probably a stupid question, but how do you do line-oriented
blocking
socket reads in Pth? There's a pth_read() which I assume blocks until a
specified number of bytes (or eof