• Marko Mäkelä's avatar
    Bug#59307 Valgrind: uninitialized value in rw_lock_set_writer_id_and_recursion_flag() · 6ae8c575
    Marko Mäkelä authored
    rw_lock_create_func(): Initialize lock->writer_thread, so that Valgrind
    will not complain even when Valgrind instrumentation is not enabled.
    Flag lock->writer_thread uninitialized, so that Valgrind can complain
    when it is used uninitialized.
    
    rw_lock_set_writer_id_and_recursion_flag(): Revert the bogus Valgrind
    instrumentation that was pushed in the first attempt to fix this bug.
    6ae8c575
sync0rw.ic 19.1 KB