increment command context reference count
| 64 | |
| 65 | // increment command context reference count |
| 66 | void CommandCtx_Incref |
| 67 | ( |
| 68 | CommandCtx *command_ctx |
| 69 | ) { |
| 70 | ASSERT(command_ctx != NULL); |
| 71 | |
| 72 | // atomicly increment reference count |
| 73 | atomic_fetch_add(&command_ctx->ref_count, 1); |
| 74 | } |
| 75 | |
| 76 | RedisModuleCtx *CommandCtx_GetRedisCtx |
| 77 | ( |
no outgoing calls
no test coverage detected