ccia_code_samples icon indicating copy to clipboard operation
ccia_code_samples copied to clipboard

fix listing 3.8

Open yz1509 opened this issue 6 years ago • 2 comments

void unlock()
    {
        if(this_thread_hierarchy_value!=hierarchy_value)
            throw std::logic_error("mutex hierarchy violated"); // missing
        this_thread_hierarchy_value=previous_hierarchy_value;
        internal_mutex.unlock();
    }

yz1509 avatar Nov 04 '19 10:11 yz1509

why not submit this as a Pull Request ? I'm not following what was wrong

EMCP avatar Jan 03 '21 19:01 EMCP

why not submit this as a Pull Request ? I'm not following what was wrong

ccia 2nd P59 line 3

yz1509 avatar Jan 04 '21 04:01 yz1509