diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-17 03:34:50 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-17 03:49:42 -0700 |
commit | 6735a391c2a1e3be01ac9e68b44ec0974592c11c (patch) | |
tree | 0e90c3ee2aa31273ce38fb9173e6c80fe85fa6bf /src/lpc/ao_timer_lpc.c | |
parent | bd8d061d0f63158b5b03814d77cb76fdf5a0abad (diff) |
libaltos: use PurgeComm in Windows altos_close to abort in-progress ops
Instead of manually signalling the related events, use PurgeComm which
can then abort the operations itself. Also make sure all of the
relevant handles are set to INVALID before closing them to avoid race conditions.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_timer_lpc.c')
0 files changed, 0 insertions, 0 deletions