summaryrefslogtreecommitdiffstats
path: root/tests/manual/qt_poll/qt_poll.pro
diff options
context:
space:
mode:
authorLouai Al-Khanji <louai.al-khanji@theqtcompany.com>2015-10-15 16:04:17 +0300
committerLouai Al-Khanji <louai.al-khanji@theqtcompany.com>2015-12-01 00:13:41 +0000
commit105fc117b70635dbeb921a5a74be75e44ac98fe2 (patch)
tree9f73791758528154a9a7dbb327dc0acefe1ae4b5 /tests/manual/qt_poll/qt_poll.pro
parentf9ba58a13baad7982600a84563b488f65581bfd9 (diff)
Add qt_safe_poll
This function is introduced to safely provide poll(2)-like semantics for socket multiplexing on Unix-like platforms. For platforms where no poll system call is available, an implementation based on select(2) is provided. Change-Id: I320e97dae5924316675a74d1897c48cae292ac6d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual/qt_poll/qt_poll.pro')
-rw-r--r--tests/manual/qt_poll/qt_poll.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/qt_poll/qt_poll.pro b/tests/manual/qt_poll/qt_poll.pro
new file mode 100644
index 0000000000..e8104c764b
--- /dev/null
+++ b/tests/manual/qt_poll/qt_poll.pro
@@ -0,0 +1,4 @@
+CONFIG += testcase
+TARGET = tst_qt_poll
+QT = core-private network testlib
+SOURCES = tst_qt_poll.cpp