hiredis
hiredis copied to clipboard
redisConnect multithread crash
when I use a context per thread, redisConnect also crashes, can you help me?
such codes are using by several threads
redisContext* redis = redisConnect(RedisIP, nPort); redisReply reply = (redisReply)redisCommand(redis, "set hello 2023"); freeReplyObject(reply); redisFree(redis);when I use a context per thread, redisConnect also crashes, can you help me?