On Thu, May 16, 2019 at 10:14:56PM +, Matt Sickler wrote:
> >-Original Message-
> >From: devel On Behalf Of
> >Previously the next card number was assigned from a static int local
> >variable,
> >which was read and later incremented. This was not thread- safe, so now we
> >use an
>-Original Message-
>From: devel On Behalf Of
>Previously the next card number was assigned from a static int local variable,
>which was read and later incremented. This was not thread- safe, so now we
>use an atomic_t and atomic_fetch_add instead.
Switching to atomic_fetch_add is