Max Kellermann
|
3e2bff296f
|
event/SocketEvent: add method GetReadyFlags()
|
2023-03-12 20:12:15 +01:00 |
|
Max Kellermann
|
cf01db4d08
|
event/Chrono, ...: relicense to BSD-2
|
2023-03-12 20:02:54 +01:00 |
|
Max Kellermann
|
148aca23be
|
use SPDX IDs, replacing the long copyright headers
|
2023-03-06 14:59:48 +01:00 |
|
Max Kellermann
|
fb5d77158a
|
util/IntrusiveList: add enum LinkMode
Compile-time code simplification.
|
2022-11-13 08:15:47 +01:00 |
|
Max Kellermann
|
cc0def15c4
|
Copyright year 2022
|
2022-07-14 17:59:35 +02:00 |
|
Max Kellermann
|
5e68531428
|
event/SocketEvent: move ssize_t to class BufferedSocket
|
2022-07-04 09:54:08 +02:00 |
|
Max Kellermann
|
5348a446a7
|
util/IntrusiveList: move various static functions to struct IntrusiveListBaseHook
|
2022-06-29 17:27:40 +02:00 |
|
Max Kellermann
|
a8e70f18fd
|
event/*: use using instead of typedef
|
2021-02-05 17:54:16 +01:00 |
|
Max Kellermann
|
abbd980671
|
Merge branch 'v0.22.x'
|
2021-01-01 19:59:15 +01:00 |
|
Max Kellermann
|
00fafa16c7
|
event/SocketEvent: remove assert(), reduce header dependencies
|
2020-12-04 09:56:28 +01:00 |
|
Max Kellermann
|
b27e82e4a9
|
event/SocketEvent: allow Schedule() with IMPLICIT_FLAGS
Relax the API (instead of tightening it further like commit
7bc1c9925b tried to do unsuccessfully).
|
2020-12-04 09:17:45 +01:00 |
|
Max Kellermann
|
3783350d25
|
event/SocketEvent: document Dispatch()
|
2020-12-02 15:24:23 +01:00 |
|
Max Kellermann
|
173405a343
|
event/SocketEvent: make Dispatch() private
|
2020-12-02 15:14:51 +01:00 |
|
Max Kellermann
|
8348a1ec8f
|
event/PollGroup: rename to PollBackend
|
2020-10-19 14:52:59 +02:00 |
|
Max Kellermann
|
c18e00daa4
|
event/PollGroup: move event flags to a separate header
Reduce header dependencies for SocketEvent.hxx.
|
2020-10-19 14:48:41 +02:00 |
|
Max Kellermann
|
418ba96334
|
event/SocketEvent: forbid copying
|
2020-10-18 20:07:49 +02:00 |
|
Max Kellermann
|
e3270dfd68
|
event/SocketEvent: use class IntrusiveList<>
|
2020-10-18 20:02:47 +02:00 |
|
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
|
caa2611ad5
|
event/SocketEvent: add Abandon()
|
2020-10-15 16:57:55 +02:00 |
|
Max Kellermann
|
f8ff597963
|
event/SocketEvent: document Close()
|
2020-10-15 16:55:31 +02:00 |
|
Max Kellermann
|
ff6e434caf
|
event/SocketEvent: rename Steal() to ReleaseSocket()
|
2020-10-15 16:54:33 +02:00 |
|
Max Kellermann
|
48afb68f3a
|
event/SocketEvent: remove assert() from GetScheduledFlags()
Fixes regression by commit 7901b04c78
|
2020-10-14 20:50:02 +02:00 |
|
Max Kellermann
|
21f409d5e2
|
event/SocketEvent: fix grammar
|
2020-10-14 16:30:38 +02:00 |
|
Max Kellermann
|
7901b04c78
|
event/SocketEvent: allow Cancel() without socket
|
2020-10-14 16:20:43 +02:00 |
|
Max Kellermann
|
653eea5840
|
event/SocketEvent: remove unnecessary initializer
|
2020-10-14 16:18:39 +02:00 |
|
Max Kellermann
|
5a4055fb08
|
event/SocketMonitor: refactor to SocketEvent
Similar to commits 1686f4e857 and
30a5dd267b
|
2020-10-14 15:54:12 +02:00 |
|