• Eugene Kosov's avatar
    cleanup DBUG · a51f3b09
    Eugene Kosov authored
    DbugParse(): removed mutex lock/unlock which should protect file writes only.
    And no file writes happen in this function.
    
    DbugFlush(): move mutex_unlock out of this method because fflush() doesn't
    need any locking.
    
    Slow stuff like mutex lock/unlock and accessing errno (TLS)
    is moved to a more narrow scope.
    a51f3b09
dbug.c 57.6 KB