diff options
author | 2025-05-14 16:19:25 +0200 | |
---|---|---|
committer | 2025-05-16 18:01:32 -0700 | |
commit | a7262ed4b163c411b450d74f2c7b34bde19ac78e (patch) | |
tree | f9792c0b0c9bc1ca98a1fb4383cf396dde9e809d /scripts/bpf_doc.py | |
parent | Merge branch 'tools-ynl-gen-support-sub-messages-and-rt-link' (diff) | |
download | wireguard-linux-a7262ed4b163c411b450d74f2c7b34bde19ac78e.tar.xz wireguard-linux-a7262ed4b163c411b450d74f2c7b34bde19ac78e.zip |
vsock/test: add timeout_usleep() to allow sleeping in timeout sections
The timeout API uses signals, so we have documented not to use sleep(),
but we can use nanosleep(2) since POSIX.1 explicitly specifies that it
does not interact with signals.
Let's provide timeout_usleep() for that.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://patch.msgid.link/20250514141927.159456-2-sgarzare@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions