Max Kellermann
|
a14997ffb8
|
event/Loop: manage all SocketEvents in a linked list
Not only those which are "ready".
|
2020-10-18 20:01:38 +02:00 |
|
Max Kellermann
|
725985379a
|
event/SocketEvent: add ScheduleImplicit(), Is{Read,Write}Pending()
|
2020-10-15 17:01:30 +02:00 |
|
Max Kellermann
|
8849b9b62c
|
event/SocketEvent: move Abandon() up
|
2020-10-15 16:59:45 +02:00 |
|
Max Kellermann
|
caa2611ad5
|
event/SocketEvent: add Abandon()
|
2020-10-15 16:57:55 +02:00 |
|
Max Kellermann
|
ff6e434caf
|
event/SocketEvent: rename Steal() to ReleaseSocket()
|
2020-10-15 16:54:33 +02:00 |
|
Max Kellermann
|
55db7105c5
|
event/SocketEvent: check/clear scheduled_flags in Close()
Fixes regression by commit 521e573be9
|
2020-10-14 21:08:39 +02:00 |
|
Max Kellermann
|
521e573be9
|
event/SocketEvent: use EventLoop::AbandonFD() in Close()
|
2020-10-14 16:29:49 +02:00 |
|
Max Kellermann
|
9f013f7de4
|
event/SocketEvent: allow Close() without socket
|
2020-10-14 16:26:01 +02:00 |
|
Max Kellermann
|
7fc04fd5cd
|
event/SocketEvent: move Dispatch() down
|
2020-10-14 16:21:41 +02:00 |
|
Max Kellermann
|
7901b04c78
|
event/SocketEvent: allow Cancel() without socket
|
2020-10-14 16:20:43 +02:00 |
|
Max Kellermann
|
5a4055fb08
|
event/SocketMonitor: refactor to SocketEvent
Similar to commits 1686f4e857 and
30a5dd267b
|
2020-10-14 15:54:12 +02:00 |
|