[tarantool-patches] Re: [PATCH] txn: convert txn flags into bit mask
Vladimir Davydov
vdavydov.dev at gmail.com
Mon Jul 29 15:30:02 MSK 2019
On Mon, Jul 29, 2019 at 03:14:11PM +0300, Konstantin Osipov wrote:
> * Vladimir Davydov <vdavydov.dev at gmail.com> [19/07/29 13:56]:
> > ---
> > https://github.com/tarantool/tarantool/commits/dv/txn-flags
>
> Curious, why not use bit fields?
Personally I don't like bit fields, because AFAIK the way they are
stored, accessed and updated depends on the compiler and, possibly,
the underlying architercture. There might be some unexpected side
effects, e.g. see
https://lwn.net/Articles/478657/
If you prefer bit fields, no problem, I will change the patch as
you like.
More information about the Tarantool-patches
mailing list