[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can't interrupt tight loops in Lua 5.4 anymore?
- From: Sean Conner <sean@...>
- Date: Wed, 20 May 2020 23:25:29 -0400
It was thus said that the Great connor horman once stated:
> On Wed, May 20, 2020 at 23:11 connor horman <chorman64@gmail.com> wrote:
> >
> > Atomics may break arbitrarily if multithreading is used.
> >
> (Appologies for the double post, hit Send by accident). Just because it
> does work now does not mean that a different platform, or even a random
> compiler optimization would not break stuff. Data races are a really nice
> footgun, as they can even happen on a whim. Maybe You started the program
> on an odd numbered cycle, so the read order is broken. So many ways a data
> race that seemingly works "fine" can just arbitrarily break.
So what is the correct way to do this then?
-spc
- References:
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Roberto Ierusalimschy
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Joseph C. Sible
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Roberto Ierusalimschy
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Joseph C. Sible
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Massimo Sala
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Joseph C. Sible
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Viacheslav Usov
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, Joseph C. Sible
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, connor horman
- Re: Can't interrupt tight loops in Lua 5.4 anymore?, connor horman