mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Modules TSC: Release the GIL for all the time we are blocked.
Instead of giving the module background operations just a small time to run in the beforeSleep() function, we can have the lock released for all the time we are blocked in the multiplexing syscall.
This commit is contained in:
@ -1294,7 +1294,9 @@ void unblockClientFromModule(client *c);
|
||||
void moduleHandleBlockedClients(void);
|
||||
void moduleBlockedClientTimedOut(client *c);
|
||||
void moduleBlockedClientPipeReadable(aeEventLoop *el, int fd, void *privdata, int mask);
|
||||
void moduleCooperativeMultiTaskingCycle(void);
|
||||
size_t moduleCount(void);
|
||||
void moduleAcquireGIL(void);
|
||||
void moduleReleaseGIL(void);
|
||||
|
||||
/* Utils */
|
||||
long long ustime(void);
|
||||
|
Reference in New Issue
Block a user