Clone
Murtadha Makki Al Hubail
committed
on 30 Jul 18
[NO ISSUE][NET] Remove Unneeded Sync From ChannelControlBlock
- user model changes: no
- storage format changes: no
- interface changes: no… Show more
[NO ISSUE][NET] Remove Unneeded Sync From ChannelControlBlock

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Remove synchronization from ChannelControlBlock

reportRemoteError since the caller will either be

synchronized on the multiplex connection or it will

be a single network IOThread notifying the channel.

This is done to prevent a possible deadlock between

threads detecting multiplex connection failure and

pipeline failing threads.

Change-Id: Ic81946ffea7fcb28ec1d96eae86d2473bdc5aef2

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2828

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Show less