diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-04-22 14:47:12 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 11:29:35 (GMT) |
commit | c5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (patch) | |
tree | d93529f6bf8cf87ff6b9b1df8ae39a86dc4b2766 /src/corelib/kernel/kernel.pri | |
parent | ebfdbff7712e230c19fc2a990632038e3fc79ef2 (diff) | |
download | Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.zip Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.tar.gz Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.tar.bz2 |
Add qcore_unix_p.h containing mostly safe versions of Unix functions.
Most of these functions are from unistd.h and need to have a loop
around the actual call because the calls can be interrupted by a
signal delivery.
Some special calls (open, dup2, pipe) require an extra flag to support
thread-safe execution: the file descriptor must be created from the
operating system with the FD_CLOEXEC flag already set.
The O_CLOEXEC flag is specified in POSIX.1-2008, but the rest is
Linux-specific.
Reviewed-By: João Abecasis
Diffstat (limited to 'src/corelib/kernel/kernel.pri')
-rw-r--r-- | src/corelib/kernel/kernel.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/kernel.pri b/src/corelib/kernel/kernel.pri index ecef555..6f28029 100644 --- a/src/corelib/kernel/kernel.pri +++ b/src/corelib/kernel/kernel.pri @@ -92,6 +92,7 @@ unix { kernel/qsharedmemory_unix.cpp \ kernel/qsystemsemaphore_unix.cpp HEADERS += \ + kernel/qcore_unix_p.h \ kernel/qcrashhandler_p.h contains(QT_CONFIG, glib) { |