[bind10-dev] numeric/integer size on CC channel
Michal 'vorner' Vaner
michal.vaner at nic.cz
Thu Jun 20 10:29:21 UTC 2013
Hello
On Thu, Jun 20, 2013 at 03:15:50PM +0530, Mukund Sivaraman wrote:
> It would require explicit lock instructions when reading/writing
> uint64_t sized operands stored in memory if there may be contention for
> it.
Even with this guarantee, it is very hard to write correct code without locking.
Both compiler and the processor are allowed to reorder the instructions as they
like, with preserving the behaviour for single-threaded, but it can break with
multi-threaded. You still need barriers at least at that moment, and they slow
the execution down as well, so there's not that much benefit in not locking.
But I guess we're getting slightly off-topic here.
With regards
--
Fragile. Do not turn umop ap1sdn!
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130620/5805b173/attachment.bin>
More information about the bind10-dev
mailing list