libaltos: Create altos_pause_one_second API
authorKeith Packard <keithp@keithp.com>
Wed, 26 Feb 2020 06:51:54 +0000 (22:51 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 26 Feb 2020 06:52:40 +0000 (22:52 -0800)
commit45f7b91ea126f8f9e607a8ee53df655d992590f2
tree641c3d4fbdbcf292af9502c95112f0e4d95666bf
parentcec4dea23b7b3cfe0f0a43c19b3118cc98cb9414
libaltos: Create altos_pause_one_second API

This is to wait for the reading thread to stop using the file object
while cleaning up.

Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos_common.c
libaltos/libaltos_posix.c
libaltos/libaltos_private.h
libaltos/libaltos_windows.c