Descriptionnetchan: fix locking bug.
There's no need to hold the client mutex when calling encode, since encode itself
uses a mutex to make the writes atomic. However, we need to keep
the messages ordered, so add a mutex for that purpose alone.
Fixes issue 1244.
Patch Set 1 #Patch Set 2 : code review 2833041: netchan: fix locking bug. #Patch Set 3 : code review 2833041: netchan: fix locking bug. #MessagesTotal messages: 4
|