ignore Coverity directory
removed enum and struct suffixes
fixed typo
using pthread_cleanup to suppress unreachable code warning
wrong function name