summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-07-29 10:45:02 -0700
committerKeith Packard <keithp@keithp.com>2010-07-29 10:45:02 -0700
commit53c279b9e96da8b69837ae84038a78ca5707f2a5 (patch)
tree5d843f5c8f17e99840ead4ebc9dcf046c9f4cd8b /ao-tools/altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub
parentb8bc9994d8bfde6116c8a509e70ddf45fc4decce (diff)
altosui: Close serial, join reader thread, free altos_file
Separating out the close and free actions ensures that the reader thread will not access freed memory or dereference a null pointer while shutting down the connection to the serial device. Otherwise, a race condition exists between the serial close and the thread join. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosUI.app/Contents/MacOS/JavaApplicationStub')
0 files changed, 0 insertions, 0 deletions