Qt 4.8
Functions | Variables
qeventdispatcher_unix.cpp File Reference
#include "qplatformdefs.h"
#include "qcoreapplication.h"
#include "qpair.h"
#include "qsocketnotifier.h"
#include "qthread.h"
#include "qelapsedtimer.h"
#include "qeventdispatcher_unix_p.h"
#include <private/qthread_p.h>
#include <private/qcoreapplication_p.h>
#include <private/qcore_unix_p.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>

Go to the source code of this file.

Functions

static void signalHandler (int sig)
 

Variables

Q_CORE_EXPORT bool qt_disable_lowpriority_timers =false
 
static sig_atomic_t signal_received
 
static sig_atomic_t signals_fired [NSIG]
 

Function Documentation

◆ signalHandler()

static void signalHandler ( int  sig)
static

Definition at line 84 of file qeventdispatcher_unix.cpp.

Referenced by QCoreApplication::watchUnixSignal().

85 {
86  signals_fired[sig] = 1;
87  signal_received = 1;
88 }
static sig_atomic_t signal_received
static sig_atomic_t signals_fired[NSIG]

Variable Documentation

◆ qt_disable_lowpriority_timers

Q_CORE_EXPORT bool qt_disable_lowpriority_timers =false

◆ signal_received

sig_atomic_t signal_received
static

◆ signals_fired

sig_atomic_t signals_fired[NSIG]
static