Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 9960058: ipc: don't treat replies with the unblock flag set as regular messages (Closed)

Created:
8 years, 8 months ago by piman
Modified:
8 years, 8 months ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org, jam, Josh Horwich
Visibility:
Public.

Description

ipc: don't treat replies with the unblock flag set as regular messages Old behavior would test should_unblock() before is_reply() so if both were set but TryToUnblockListener wouldn't return true (the corresponding Send isn't on top of the stack), it would queue the message as to be dispatched. This restores the correct order. BUG=122443 TEST=ipc_tests, in particular ReentrantReply Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131617

Patch Set 1 #

Patch Set 2 : git try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -4 lines) Patch
M ipc/ipc_sync_channel.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 1 1 chunk +114 lines, -0 lines 0 comments Download
M ipc/ipc_sync_message_unittest.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
piman
8 years, 8 months ago (2012-04-10 01:23:08 UTC) #1
jam
lgtm
8 years, 8 months ago (2012-04-10 02:25:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/9960058/4002
8 years, 8 months ago (2012-04-10 18:19:00 UTC) #3
commit-bot: I haz the power
8 years, 8 months ago (2012-04-10 20:07:56 UTC) #4
Change committed as 131617

Powered by Google App Engine
This is Rietveld 408576698