|
Packit Service |
706eca |
/* Copyright (C) 2009-2018 Free Software Foundation, Inc.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This file is part of GDB.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
706eca |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
706eca |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
706eca |
(at your option) any later version.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
706eca |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
706eca |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
706eca |
GNU General Public License for more details.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
706eca |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#if !defined(GDB_USLEEP_H)
|
|
Packit Service |
706eca |
#define GDB_USLEEP_H
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
/* Suspend execution for USEC microseconds.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
Limitation: If a signal is raised during the delay, gdb_usleep
|
|
Packit Service |
706eca |
might return earlier than requested.
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
It returns 0 on success or -1 on error. */
|
|
Packit Service |
706eca |
extern int gdb_usleep (int usect);
|
|
Packit Service |
706eca |
|
|
Packit Service |
706eca |
#endif /* !defined(GDB_USLEEP_H) */
|
|
Packit Service |
706eca |
|