mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 21:41:32 +00:00
several typos fixed, optimize MSETNX to avoid unnecessary loop
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user