Acquire the server lock before executing a thread safe API call. * This is not needed for `RedisModule_Reply*` calls when there is * a blocked client connected to the thread safe context. */
| 5805 | * This is not needed for `RedisModule_Reply*` calls when there is |
| 5806 | * a blocked client connected to the thread safe context. */ |
| 5807 | void RM_ThreadSafeContextLock(RedisModuleCtx *ctx) { |
| 5808 | UNUSED(ctx); |
| 5809 | moduleAcquireGIL(); |
| 5810 | } |
| 5811 | |
| 5812 | /* Similar to RM_ThreadSafeContextLock but this function |
| 5813 | * would not block if the server lock is already acquired. |
nothing calls this directly
no test coverage detected