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
..
2023-03-06 14:59:48 +01:00
2023-03-12 19:53:03 +01:00
2023-09-27 11:39:55 +02:00
2023-09-27 10:34:50 +02:00
2023-03-12 20:02:54 +01:00
2023-03-12 20:02:54 +01:00
2023-03-12 20:02:54 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 20:02:54 +01:00
2023-03-12 20:02:54 +01:00
2023-03-21 11:00:41 +01:00
2023-03-12 19:53:03 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-09-27 11:39:55 +02:00
2023-09-27 10:36:56 +02:00
2023-03-12 20:02:54 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 20:02:54 +01:00
2023-09-27 11:14:23 +02:00
2023-03-06 14:59:48 +01:00
2023-09-26 15:47:09 +02:00
2023-09-26 15:47:09 +02:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 20:02:54 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 19:53:03 +01:00
2023-03-06 14:59:48 +01:00
2023-09-19 11:22:39 +02:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 20:02:54 +01:00
2023-03-12 20:12:15 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-04-06 10:24:53 +02:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-05-22 21:57:18 +02:00
2023-05-22 21:57:18 +02:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-06 14:59:48 +01:00
2023-03-12 19:53:03 +01:00