kwave  18.07.70
WorkerThread.cpp File Reference
#include "config.h"
#include <signal.h>
#include <stdio.h>
#include <QApplication>
#include <QtGlobal>
#include <errno.h>
#include "libkwave/Runnable.h"
#include "libkwave/WorkerThread.h"
Include dependency graph for WorkerThread.cpp:

Go to the source code of this file.

Macros

#define MAX_ATTEMPTS_TO_STOP   8
 

Functions

void _dummy_SIGHUP_handler (int)
 

Variables

static bool g_signal_handler_is_in_place = false
 

Macro Definition Documentation

◆ MAX_ATTEMPTS_TO_STOP

#define MAX_ATTEMPTS_TO_STOP   8

maximum number of attempts to stop the worker thread

Definition at line 36 of file WorkerThread.cpp.

Referenced by Kwave::WorkerThread::stop().

Function Documentation

◆ _dummy_SIGHUP_handler()

void _dummy_SIGHUP_handler ( int  )

Definition at line 45 of file WorkerThread.cpp.

Referenced by Kwave::WorkerThread::WorkerThread().

46 {
47  printf("\r\n--- SIGHUP ---\r\n");
48 }
Here is the caller graph for this function:

Variable Documentation

◆ g_signal_handler_is_in_place

bool g_signal_handler_is_in_place = false
static

set to true once a handler for SIGHUP is in place

Definition at line 39 of file WorkerThread.cpp.

Referenced by Kwave::WorkerThread::WorkerThread().