• Junio C Hamano's avatar
    thread-utils.h: simplify the inclusion · b361888d
    Junio C Hamano authored
    All files that include this header file use the same four line
        #ifndef NO_PTHREADS
        #include <pthread.h>
        #include "thread-utils.h"
    Move the responsibility for that gymnastics to the header file from the
    files that include it.  This approach makes it easier to later declare new
    services that are related to threading in thread-utils.h and have them
    available to all the threading code.
    Signed-off-by: default avatarJunio C Hamano <[email protected]>
thread-utils.h 209 Bytes