KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
KviThread.cpp File Reference
#include "KviThread.h"
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include "kvi_settings.h"
#include "KviCString.h"
#include "KviError.h"
#include <QSocketNotifier>
#include <QApplication>

Macros

#define _GNU_SOURCE
 
#define KVI_THREAD_MAX_EVENT_QUEUE_LENGTH   50
 
#define KVI_THREAD_PIPE_SIDE_MASTER   0
 
#define KVI_THREAD_PIPE_SIDE_SLAVE   1
 

Functions

static void * internal_start_thread (void *arg)
 
static void kvi_threadCatchSigpipe ()
 
static void kvi_threadIgnoreSigalarm ()
 
static void kvi_threadInitialize ()
 
static void kvi_threadSigpipeHandler (int)
 

Variables

static KviThreadManagerg_pThreadManager = nullptr
 

Macro Definition Documentation

#define _GNU_SOURCE
#define KVI_THREAD_MAX_EVENT_QUEUE_LENGTH   50
#define KVI_THREAD_PIPE_SIDE_MASTER   0
#define KVI_THREAD_PIPE_SIDE_SLAVE   1

Function Documentation

static void* internal_start_thread ( void *  arg)
static

Referenced by KviThread::start().

static void kvi_threadCatchSigpipe ( )
static
static void kvi_threadIgnoreSigalarm ( )
static

Referenced by kvi_threadInitialize().

static void kvi_threadInitialize ( )
static
static void kvi_threadSigpipeHandler ( int  )
static

Referenced by kvi_threadCatchSigpipe().

Variable Documentation

KviThreadManager* g_pThreadManager = nullptr
static