stop a thread safetely
Peter Hansen
peter at engcorp.com
Fri May 13 14:43:44 EDT 2005
Ivan Voras wrote:
> Peter Hansen wrote:
>
>> call to recv() does not guarantee that the full 608 bytes of data is
>
> Does read() have that guarantee?
Assuming you mean read() on the file object that would be returned by
calling makefile() on the socket, then the docs imply that this is the
case, but I wouldn't call that a "guarantee". Someone who knows the
inner workings might have a comment on that (in which case it might make
a good patch to the docs to clarify this issue...).
-Peter
More information about the Python-list
mailing list