summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_murmur_hash.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-04-21 16:55:13 +0300
committerMax Romanov <max.romanov@nginx.com>2017-04-21 16:55:13 +0300
commitcfed068c1d81d0ad0fe58885a0120529aa49630a (patch)
treed1d9c6f31341f13cac6bd60eda16f146512f4c2e /src/nxt_murmur_hash.c
parent6e7f98d6aed3047562656f86a5f9474d94d1894b (diff)
downloadunit-cfed068c1d81d0ad0fe58885a0120529aa49630a.tar.gz
unit-cfed068c1d81d0ad0fe58885a0120529aa49630a.tar.bz2
Macros for atomic 'OR' and 'AND' operations introduced.
Compiler built-ins used, where possible. Necessary configure checks added. New macros: nxt_atomic_or_fetch(ptr, val) nxt_atomic_and_fetch(ptr, val) Syntax and behaviour is similar to __sync_or_and_fetch and __sync_and_and_fetch GCC build-ins.
Diffstat (limited to 'src/nxt_murmur_hash.c')
0 files changed, 0 insertions, 0 deletions