Fixed problem with FIFO code. 'count' field wasn't protected from read-modify-write condition.
Authored by: steven-pye 2016-11-13
Parent: [r57]
Child: [r59]