Commit 29bcde7ad8ee7b1ae4595f85fdfb03065f433089
authorMichel Pollet <buserror@gmail.com>
Thu, 9 Jan 2014 13:29:42 +0000 (13:29 +0000)
committerMichel Pollet <buserror@gmail.com>
Thu, 9 Jan 2014 13:29:42 +0000 (13:29 +0000)
tree9b9d355f0a0eaab3d790c41d9da5ffb69df910cb
parent32f385e94fe16415d96f667efeaa9615aca930a3
Message:
uart_pty: Fix the race condition

There had been a race condition in there for a rather long while,
I've finaly tracked it down to a small idiotic change of trying to
flush a buffer from the wrong thread.
Removing that flush makes it works properly as intended, without the
mutex.

Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/parts/uart_pty.c