Refactoring: new function to test if client has pending output.

This commit is contained in:
antirez
2015-09-30 16:41:48 +02:00
parent 1c512e4960
commit 2d21af4548
3 changed files with 17 additions and 8 deletions

View File

@ -1111,6 +1111,7 @@ void pauseClients(mstime_t duration);
int clientsArePaused(void);
int processEventsWhileBlocked(void);
void handleClientsWithPendingWrites(void);
int clientHasPendingReplies(client *c);
#ifdef __GNUC__
void addReplyErrorFormat(client *c, const char *fmt, ...)