Tim saw Win2k crashes that made me realize that the input and output
buffer variables here are accessed from multiple threads without any locking@ Add such locking: a separate lock for input and one for output. XXX Note: handle_read() keeps the lock for a potentially long time. But this is required to serialize incoming calls anyway. Unrelated nicety: use short_repr() when logging message output, for consistency with other places.
Showing
Please register or sign in to comment