Bug #999: netlrts writeableDgrams is never reset to 099/2199/6
commitf505e76bbf9f3bb3bf3fe621b0180688e5bc7ca8
authorBilge Acun <acun2@illinois.edu>
Mon, 6 Feb 2017 17:59:17 +0000 (6 11:59 -0600)
committerSam White <white67@illinois.edu>
Wed, 15 Mar 2017 18:10:56 +0000 (15 13:10 -0500)
tree3c2f512ea025d4025fbf67b97aaa4809f19701ec
parent585188db58628ba43234627e5caa9cc6b4cbe2e8
Bug #999: netlrts writeableDgrams is never reset to 0

Set writeableDgrams to 0, otherwise it'll never be set to zero,
preventing comm thread to sleep.
Also CommunicationServerNet was alwasy called with sleepTime 0,
changing it to 5 ms to enable it to sleep when necessary.

Change-Id: I2007ecacc76df39c5d01ce83fac6038e3e1ebca9
src/arch/netlrts/machine-eth.c
src/arch/netlrts/machine.c