C++ Logo


Advanced search

Re: [std-proposals] Paper for Preventing Re-entry of Functions (10 pages)

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Sun, 19 Feb 2023 16:05:58 +0000
On Sun, Feb 19, 2023 at 3:49 PM Frederick Virchanza Gotham
<cauldwell.thomas_at_[hidden]> wrote:
> I've attached the file "noreentry_draft01.pdf" to this email

On page 9 of Draft No. 1, there's a mistake in the last four lines:

    set_propagate_noreentry_link b;
    MyClass c(b); // 'c' is not linked to 'b'
    unset_propagate_noreentry_link c;
    MyClass d(c); // 'd' shares mutexes with 'c'

'set' and 'unset' should be swapped.

I've corrected the mistake and attached Draft No. 2, which can also be
downloaded from:


Received on 2023-02-19 16:06:08