PD_OP_TIMER redefined to 0 because timer is special.

This commit is contained in:
XieHan
2023-04-13 00:50:53 +08:00
parent 6bc22aaaeb
commit 8d958c895c

View File

@@ -35,6 +35,7 @@ struct __poller_message
struct poller_data
{
#define PD_OP_TIMER 0
#define PD_OP_READ 1
#define PD_OP_WRITE 2
#define PD_OP_LISTEN 3
@@ -46,8 +47,7 @@ struct poller_data
#define PD_OP_SSL_SHUTDOWN 7
#define PD_OP_EVENT 8
#define PD_OP_NOTIFY 9
#define PD_OP_TIMER 10
#define PD_OP_RECV_MESSAGE 11
#define PD_OP_RECV_MESSAGE 10
short operation;
unsigned short iovcnt;
int fd;