]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: if a pipe** is passed in to submit_message, it's used.
authorGreg Farnum <gregf@hq.newdream.net>
Thu, 15 Apr 2010 19:07:37 +0000 (12:07 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 15 Apr 2010 20:43:16 +0000 (13:43 -0700)
commit057897e468a03ffa0bb2a5ba595fc506418a6e06
tree9366052030f3b841707e8744583b8dec0e378cee
parent731414b2c0f620fdfe5a49bf44f8ab735b4fdcc5
msgr: if a pipe** is passed in to submit_message, it's used.

This is a double pointer because it's possible that a Pipe has
been destroyed since the send_message call, so we want to check
that the Pipe * remains set after we've taken the main lock.
src/msg/SimpleMessenger.cc