DescriptionPPAPI/NaCl: Make ipc_channel_nacl post to the correct thread.
Connect is called on the thread where Channel::Send will be invoked (and where messages should be dispatched). But Channel might be _created_ on some other thread. Therefore, we need to post data that we read to the thread on which Connect is called. NOT the thread where the Channel was created.
This fixes an issue where sync messages were never getting their replies, because the DidRecvMsg task was being run on the thread where ChannelProxy::Send was called, not the Channel thread (which is the IO thread in this case).
BUG=116317
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146006
Patch Set 1 #
Total comments: 1
Patch Set 2 : review comments #Messages
Total messages: 5 (0 generated)
|