Qt 4.8
|
#include "qcore_unix_p.h"
#include "qelapsedtimer.h"
#include <sys/select.h>
#include <sys/time.h>
#include <stdlib.h>
#include <mach/mach_time.h>
Go to the source code of this file.
Functions | |
int | qt_safe_select (int nfds, fd_set *fdread, fd_set *fdwrite, fd_set *fdexcept, const struct timeval *orig_timeout) |
static bool | time_update (struct timeval *tv, const struct timeval &start, const struct timeval &timeout) |
int qt_safe_select | ( | int | nfds, |
fd_set * | fdread, | ||
fd_set * | fdwrite, | ||
fd_set * | fdexcept, | ||
const struct timeval * | orig_timeout | ||
) |
Definition at line 73 of file qcore_unix.cpp.
Referenced by QNativeSocketEnginePrivate::nativeSelect(), SelectWorker::run(), QEventDispatcherUNIX::select(), and select_msecs().
|
inlinestatic |
Definition at line 63 of file qcore_unix.cpp.
Referenced by qt_safe_select().