Release the server lock after a thread safe API call was executed. */
| 5958 | |
| 5959 | /* Release the server lock after a thread safe API call was executed. */ |
| 5960 | void RM_ThreadSafeContextUnlock(RedisModuleCtx *ctx) { |
| 5961 | UNUSED(ctx); |
| 5962 | moduleReleaseGIL(FALSE /*fServerThread*/, true /*fExclusive*/); |
| 5963 | } |
| 5964 | |
| 5965 | // A module may be triggered synchronously in a non-module context. In this scenario we don't lock again |
| 5966 | // as the server thread acquisition is sufficient. If we did try to lock we would deadlock |
nothing calls this directly
no test coverage detected