Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
15ea1324
Commit
15ea1324
authored
Feb 22, 2020
by
Ariel
Committed by
antirez
Feb 27, 2020
Browse files
fix ThreadSafeContext lock/unlock function names
parent
4d12c37c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
15ea1324
...
...
@@ -4740,9 +4740,9 @@ int RM_BlockedClientDisconnected(RedisModuleCtx *ctx) {
*
* To call non-reply APIs, the thread safe context must be prepared with:
*
* RedisModule_ThreadSafeC
allStart
(ctx);
* RedisModule_ThreadSafeC
ontextLock
(ctx);
* ... make your call here ...
* RedisModule_ThreadSafeC
allStop
(ctx);
* RedisModule_ThreadSafeC
ontextUnlock
(ctx);
*
* This is not needed when using `RedisModule_Reply*` functions, assuming
* that a blocked client was used when the context was created, otherwise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment