Kwok Cheung Yeung writes:
> Hello
>
> On 06/08/2020 1:23 pm, Tom de Vries wrote:
> > +static char AC[4];
> > +static char init_qi[4] = { -30,-30,-50,-50 };
> > +static char test_qi[4] = { -115,-115,25,25 };
> > +
> > +static void
> > +do_qi (void)
> > +{
> > + if (__sync_val_compare_and_s
Hello
On 06/08/2020 1:23 pm, Tom de Vries wrote:
> +static char AC[4];
> +static char init_qi[4] = { -30,-30,-50,-50 };
> +static char test_qi[4] = { -115,-115,25,25 };
> +
> +static void
> +do_qi (void)
> +{
> + if (__sync_val_compare_and_swap(AC+0, -30, -115) != -30)
> +abort ();
If 'char