AsyncTerminatedMessageStream: send_message
authorGuido Trotter <ultrotter@google.com>
Fri, 25 Jun 2010 15:43:21 +0000 (17:43 +0200)
committerGuido Trotter <ultrotter@google.com>
Tue, 29 Jun 2010 11:30:30 +0000 (12:30 +0100)
commit1e063ccd7d0791271ed6b0317e61b7bb9bf25877
tree240d10bf4129aefac3d214d577f4b1b0b64ea185
parentaefbe36941d80068e99a119939975823a2eac141
AsyncTerminatedMessageStream: send_message

This function adds the ability for a AsyncTerminatedMessageStream to
have a thread-safe message delivery function.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/daemon.py
test/ganeti.daemon_unittest.py