You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for attention,
My understanding is that EPOLLIN means when the associated file(fd) is available for read it will notify subscriber.
If I subscribe fd in redisContext with EPOLLIN, when I will got notified?
Or, put it in another way, what the fd means in redisContext? can I communicate with redis server with that fd(socket?)?
Or, put it in another way, when the socket is not ready for read?
The text was updated successfully, but these errors were encountered:
You can use any of the common functions to operate against file descriptors. It's important to be careful if you manually poll/read/write to the fd while the redisContext owns it, but this is perfectly doable.
The code link:
hiredis/hiredis.h
Line 262 in e0f4820
Thanks for attention,
My understanding is that EPOLLIN means when the associated file(fd) is available for read it will notify subscriber.
If I subscribe fd in redisContext with EPOLLIN, when I will got notified?
Or, put it in another way, what the fd means in redisContext? can I communicate with redis server with that fd(socket?)?
Or, put it in another way, when the socket is not ready for read?
The text was updated successfully, but these errors were encountered: