From 24642df23ca33436bb9deb02ee5a85287b019af9 Mon Sep 17 00:00:00 2001 From: Louai Al-Khanji Date: Wed, 2 Dec 2015 18:48:46 -0800 Subject: QProcess: Use poll instead of select on Unix platforms Change-Id: I3386ef228ce95209f6f221e18293d991b24a7b2e Reviewed-by: Thiago Macieira --- src/corelib/kernel/qcore_unix_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/kernel/qcore_unix_p.h') diff --git a/src/corelib/kernel/qcore_unix_p.h b/src/corelib/kernel/qcore_unix_p.h index 11da70e008..9ceee17055 100644 --- a/src/corelib/kernel/qcore_unix_p.h +++ b/src/corelib/kernel/qcore_unix_p.h @@ -326,6 +326,8 @@ void qt_nanosleep(timespec amount); Q_CORE_EXPORT int qt_safe_poll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts); +int qt_poll_msecs(struct pollfd *fds, nfds_t nfds, int timeout); + Q_CORE_EXPORT int qt_safe_select(int nfds, fd_set *fdread, fd_set *fdwrite, fd_set *fdexcept, const struct timespec *tv); -- cgit v1.2.3