mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
PD_OP_TIMER redefined to 0 because timer is special.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user