summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel <ashtul@gmail.com>2020-02-22 23:49:23 +0200
committerantirez <antirez@gmail.com>2020-03-05 16:30:10 +0100
commit77ff332b4ce5cfbeae851e68d03bd635e961550f (patch)
tree054e1fe540992effe96fe58e4d09e8a15272ed65
parent4f0f799c96f656eb67e13b1e212773a264450c5c (diff)
downloadredis-77ff332b4ce5cfbeae851e68d03bd635e961550f.tar.gz
fix ThreadSafeContext lock/unlock function names
-rw-r--r--src/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c
index 797f2d86d..f9e497b0c 100644
--- a/src/module.c
+++ b/src/module.c
@@ -4008,9 +4008,9 @@ int RM_BlockedClientDisconnected(RedisModuleCtx *ctx) {
*
* To call non-reply APIs, the thread safe context must be prepared with:
*
- * RedisModule_ThreadSafeCallStart(ctx);
+ * RedisModule_ThreadSafeContextLock(ctx);
* ... make your call here ...
- * RedisModule_ThreadSafeCallStop(ctx);
+ * RedisModule_ThreadSafeContextUnlock(ctx);
*
* This is not needed when using `RedisModule_Reply*` functions, assuming
* that a blocked client was used when the context was created, otherwise