altosuilib: Make sure only one thread is closing serial device
authorKeith Packard <keithp@keithp.com>
Sat, 14 Jun 2014 21:38:00 +0000 (14:38 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 Jun 2014 21:38:00 +0000 (14:38 -0700)
Multiple closers can cause a crash by freeing the libaltos device twice

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found