mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
Make IO threads killable so that they can be canceled at any time.
This commit can be cherry picked to 6.0 only if we also cherry pickf866023
. (cherry picked from commitc37acb82aa
)
This commit is contained in:
parent
4832cf4fd6
commit
59866fcd30
@ -2948,6 +2948,7 @@ void *IOThreadMain(void *myid) {
|
||||
snprintf(thdname, sizeof(thdname), "io_thd_%ld", id);
|
||||
redis_set_thread_title(thdname);
|
||||
redisSetCpuAffinity(server.server_cpulist);
|
||||
makeThreadKillable();
|
||||
|
||||
while(1) {
|
||||
/* Wait for start */
|
||||
|
Loading…
Reference in New Issue
Block a user