diff options
author | hujiecs <2844633656@qq.com> | 2018-10-16 15:48:03 +0800 |
---|---|---|
committer | hujiecs <2844633656@qq.com> | 2018-10-16 15:48:03 +0800 |
commit | 297950e8b817dbf3f2dbbbff497fdf3a047cc8f2 (patch) | |
tree | 0429b3008cf4e809145e4e87746c520b1fee6c2f /src/atomicvar.h | |
parent | 1caabd59b2f746f7c35900486c072e35898cb232 (diff) | |
download | redis-297950e8b817dbf3f2dbbbff497fdf3a047cc8f2.tar.gz |
several typos fixed, optimize MSETNX to avoid unnecessary loop
Diffstat (limited to 'src/atomicvar.h')
-rw-r--r-- | src/atomicvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atomicvar.h b/src/atomicvar.h index 173b045fc..160056cd7 100644 --- a/src/atomicvar.h +++ b/src/atomicvar.h @@ -1,7 +1,7 @@ /* This file implements atomic counters using __atomic or __sync macros if * available, otherwise synchronizing different threads using a mutex. * - * The exported interaface is composed of three macros: + * The exported interface is composed of three macros: * * atomicIncr(var,count) -- Increment the atomic counter * atomicGetIncr(var,oldvalue_var,count) -- Get and increment the atomic counter |