diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 07:46:06 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-07 10:44:41 (GMT) |
commit | f250aa63d2f4fd7d7a40977552253bc68c21df29 (patch) | |
tree | 6a7e114f297ef61749e32d84b4bb114f09532585 /src/corelib | |
parent | ba5109e94d35a8c58fc4a4f412a3368bfa8851cc (diff) | |
download | Qt-f250aa63d2f4fd7d7a40977552253bc68c21df29.zip Qt-f250aa63d2f4fd7d7a40977552253bc68c21df29.tar.gz Qt-f250aa63d2f4fd7d7a40977552253bc68c21df29.tar.bz2 |
Only a character but could still be interrupted by a signal
Reviewed-by: Brad
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_unix.cpp b/src/corelib/kernel/qeventdispatcher_unix.cpp index 5a0afb8..5d206ed 100644 --- a/src/corelib/kernel/qeventdispatcher_unix.cpp +++ b/src/corelib/kernel/qeventdispatcher_unix.cpp @@ -939,7 +939,7 @@ void QEventDispatcherUNIX::wakeUp() Q_D(QEventDispatcherUNIX); if (d->wakeUps.testAndSetAcquire(0, 1)) { char c = 0; - ::write( d->thread_pipe[1], &c, 1 ); + qt_safe_write( d->thread_pipe[1], &c, 1 ); } } |