diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-15 19:07:43 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-15 19:07:43 +0000 |
commit | 4a180a518d55c74aea5eb0cda0281d60b78e8a8d (patch) | |
tree | d8356c54cfdfcb567443de574298392dc424cbe6 /ipc/ipc_sync_channel.cc | |
parent | de17d3d290d9a63bb117f7e3f956dc9ff4ca6785 (diff) | |
download | chromium_src-4a180a518d55c74aea5eb0cda0281d60b78e8a8d.zip chromium_src-4a180a518d55c74aea5eb0cda0281d60b78e8a8d.tar.gz chromium_src-4a180a518d55c74aea5eb0cda0281d60b78e8a8d.tar.bz2 |
Add additional comments to the sync channel.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/6864018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel.cc')
-rw-r--r-- | ipc/ipc_sync_channel.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc index 3dcab2c..5cc4729 100644 --- a/ipc/ipc_sync_channel.cc +++ b/ipc/ipc_sync_channel.cc @@ -225,6 +225,10 @@ SyncChannel::SyncContext::~SyncContext() { // we know how to deserialize the reply. Returns a handle that's set when // the reply has arrived. void SyncChannel::SyncContext::Push(SyncMessage* sync_msg) { + // Create the tracking information for this message. This object is stored + // by value since all members are pointers that are cheap to copy. These + // pointers are cleaned up in the Pop() function. + // // The event is created as manual reset because in between Signal and // OnObjectSignalled, another Send can happen which would stop the watcher // from being called. The event would get watched later, when the nested |