| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* Timeout API for single-threaded programs that use blocking |
|---|
| 2 | 3 | * syscalls (read/write/send/recv/connect/accept). |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2017 Red Hat, Inc. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Stefan Hajnoczi <stefanha@redhat.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License |
|---|
| 10 | | - * as published by the Free Software Foundation; version 2 |
|---|
| 11 | | - * of the License. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | /* Use the following pattern: |
|---|