Commit 15ea1324 authored by Ariel's avatar Ariel Committed by antirez
Browse files

fix ThreadSafeContext lock/unlock function names

parent 4d12c37c
...@@ -4740,9 +4740,9 @@ int RM_BlockedClientDisconnected(RedisModuleCtx *ctx) { ...@@ -4740,9 +4740,9 @@ int RM_BlockedClientDisconnected(RedisModuleCtx *ctx) {
* *
* To call non-reply APIs, the thread safe context must be prepared with: * To call non-reply APIs, the thread safe context must be prepared with:
* *
* RedisModule_ThreadSafeCallStart(ctx); * RedisModule_ThreadSafeContextLock(ctx);
* ... make your call here ... * ... make your call here ...
* RedisModule_ThreadSafeCallStop(ctx); * RedisModule_ThreadSafeContextUnlock(ctx);
* *
* This is not needed when using `RedisModule_Reply*` functions, assuming * This is not needed when using `RedisModule_Reply*` functions, assuming
* that a blocked client was used when the context was created, otherwise * that a blocked client was used when the context was created, otherwise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment