git: sbin/hammer2: Introduce hammer2_media_config::thread_started

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 31 07:28:59 PDT 2019


commit 9d848d5515edf09a206ae6424c4b47c4a0788f91
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 31 22:09:33 2019 +0900

    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.

Summary of changes:
 sbin/hammer2/cmd_service.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d848d5515edf09a206ae6424c4b47c4a0788f91


-- 
DragonFly BSD source repository



More information about the Commits mailing list