[LTP] [PATCH v4 1/3] Add TST_THREAD_STATE_WAIT macro

Cyril Hrubis chrubis@suse.cz
Wed Feb 9 11:35:45 CET 2022


Hi!
> > Maybe we can just put this code into the existing tst_process_state.h
> > header and C source.
> The tst_safe_process_state.c implementation is currently using old API 
> and it's importing "test.h" . If we want to add TST_THREAD_STATE_WAIT 
> into tst_process_state.h then we also need to rewrite process state 
> headers/implementation files in order to support both old and new API.

Good point, I wouldn't bother. Maybe just use single header then and
keep the implementation split?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list