sbin/hammer2: Introduce hammer2_media_config::thread_started
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 31 Aug 2019 13:09:33 +0000 (22:09 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 31 Aug 2019 14:25:22 +0000 (23:25 +0900)
commit9d848d5515edf09a206ae6424c4b47c4a0788f91
treea63faad05d8ff874396e09112fe484a540a4a186
parent3c65070f5809750c8d398c5c261479d966793832
sbin/hammer2: Introduce hammer2_media_config::thread_started

Don't test ->thread address itself to test if a pthread is running.
Having assumption on actual type breaks portability.
sbin/hammer2/cmd_service.c