cleanup: tml: stop reader/writer thread individually
- Move code for stopping reader/writer thread into
ReadAbort() and WriteAbort(). Now they also call pthread_join()
- Use separated 'thread-stop' flag each for reader and writer
(phTmlUwb_ReadWriteInfo::bThreadShouldStop), instead of
global gpphTmlUwb_Context->bThreadDone.
- Do not expose phTmlUwb_ReadAbort() and phTmlUwb_WriteAbort()
Tml users don't have to control io abort, these can be handled
internally from phTmlUwb_Shutdown()
Bug: 321604848
Bug: 336425207
Test: uwb manager stress test
Change-Id: I0d356720c2deecfe5d289854921ad56d5b76c0ef
3 files changed