mpd/src/event
Max Kellermann 491cc8f54d net/SocketDescriptor: add {Read,Write}NoWait()
It was surprising that Read() was non-blocking, but there was no
blocking version of it.  Let's make the non-blocking behavior explicit
and change Read() to be blocking.

In order to find existing callers easily with compiler errors, this
also refactors Read()/Write() to take a std::span parameter.
2023-09-27 11:39:55 +02:00
..
Backend.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
BackendEvents.hxx event/BackendEvents: relicense to BSD-2 2023-03-12 19:53:03 +01:00
BufferedSocket.cxx net/SocketDescriptor: add {Read,Write}NoWait() 2023-09-27 11:39:55 +02:00
BufferedSocket.hxx event/BufferedSocket: pass std::span to DirectRead() 2023-09-27 10:34:50 +02:00
Call.cxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
Call.hxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
Chrono.hxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
CoarseTimerEvent.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
CoarseTimerEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
DeferEvent.cxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
DeferEvent.hxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
EpollBackend.hxx event/EpollBackend: add missing header guard 2023-03-21 11:00:41 +01:00
EpollEvents.hxx event/BackendEvents: relicense to BSD-2 2023-03-12 19:53:03 +01:00
FarTimerEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
FineTimerEvent.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
FineTimerEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
FullyBufferedSocket.cxx net/SocketDescriptor: add {Read,Write}NoWait() 2023-09-27 11:39:55 +02:00
FullyBufferedSocket.hxx event/FullyBufferedSocket: pass std::span to DirectWrite() 2023-09-27 10:36:56 +02:00
IdleEvent.hxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
InjectEvent.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
InjectEvent.hxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
InotifyEvent.cxx io/FileDescriptor: add Read()/Write() overloads with std::span 2023-09-27 11:14:23 +02:00
InotifyEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
Loop.cxx event/Loop: relicense to BSD-2 2023-09-26 15:47:09 +02:00
Loop.hxx event/Loop: relicense to BSD-2 2023-09-26 15:47:09 +02:00
MaskMonitor.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
MaskMonitor.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
meson.build event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
MultiSocketMonitor.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
MultiSocketMonitor.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
PipeEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
PollBackend.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
PollBackend.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
PollEvents.hxx event/BackendEvents: relicense to BSD-2 2023-03-12 19:53:03 +01:00
PollResultGeneric.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
ServerSocket.cxx lib/fmt/SocketAddressFormatter: new library 2023-09-19 11:22:39 +02:00
ServerSocket.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SignalMonitor.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SignalMonitor.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
SocketEvent.cxx event/Chrono, ...: relicense to BSD-2 2023-03-12 20:02:54 +01:00
SocketEvent.hxx event/SocketEvent: add method GetReadyFlags() 2023-03-12 20:12:15 +01:00
Thread.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
Thread.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
TimerEvent.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
TimerList.cxx util/IntrusiveSortedList, event/TimerList: include cleanup 2023-04-06 10:24:53 +02:00
TimerList.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
TimerWheel.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
TimerWheel.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
UringManager.cxx io/uring/Queue: make Submit() virtual, Push() not 2023-05-22 21:57:18 +02:00
UringManager.hxx io/uring/Queue: make Submit() virtual, Push() not 2023-05-22 21:57:18 +02:00
WakeFD.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
WinSelectBackend.cxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
WinSelectBackend.hxx use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
WinSelectEvents.hxx event/BackendEvents: relicense to BSD-2 2023-03-12 19:53:03 +01:00