ravthan / all-eyes

Automatically exported from code.google.com/p/all-eyes
0 stars 0 forks source link

Add a write lock to the AeConnector's write method #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add a write lock to the AeConnector's write method to prevent multiple threads 
from writing to the socket at the same time.

Original issue reported on code.google.com by tbrt....@gmail.com on 18 Nov 2012 at 10:27

GoogleCodeExporter commented 8 years ago
Modified the AeProxy's AeConnector class so it uses a synchronized block when 
writing messages onto the socket.  This should prevent any thread issues with 
multiple threads writing to the socket at  the same time.

Original comment by tbrt....@gmail.com on 18 Nov 2012 at 10:29

GoogleCodeExporter commented 8 years ago
Verified with unit testing

Original comment by tbrt....@gmail.com on 9 Dec 2012 at 9:24