• Chih-Hung Hsieh's avatar
    Do not return with stack address in global variable. · 9af13d24
    Chih-Hung Hsieh authored
    Clang static analyzer gives warning when address of
    local variable 'attr' is saved in a global variable.
    This change passes required values down to signal handler
    instead of saving local variable address in a signal handler.
    
    Change-Id: I7955939487a5afdf7b1f47eb74a92eb5aa76cfc9
    9af13d24
pthread_test.cpp 65.1 KB