Browse Source
This makes select.poll() interface fully compatible with CpYthon. Also, make their numeric values of these options compatible with Linux (and by extension, with iBCS2 standard, which jopefully means compatibility with other Unices too).pull/1600/merge
Paul Sokolovsky
9 years ago
4 changed files with 16 additions and 2 deletions
@ -1,6 +1,8 @@ |
|||
#define MP_IOCTL_POLL (0x100 | 1) |
|||
|
|||
// These values are compatible with Linux, which are in turn
|
|||
// compatible with iBCS2 spec.
|
|||
#define MP_IOCTL_POLL_RD (0x0001) |
|||
#define MP_IOCTL_POLL_WR (0x0002) |
|||
#define MP_IOCTL_POLL_HUP (0x0004) |
|||
#define MP_IOCTL_POLL_WR (0x0004) |
|||
#define MP_IOCTL_POLL_ERR (0x0008) |
|||
#define MP_IOCTL_POLL_HUP (0x0010) |
|||
|
Loading…
Reference in new issue