Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

bcsignals.C File Reference

#include "bcsignals.h"
#include "bcwindowbase.inc"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Go to the source code of this file.

Classes

struct  bc_buffertrace_t
struct  bc_table_t

Defines

#define TOTAL_TRACES   100
#define TOTAL_LOCKS   100

Functions

static bc_locktrace_tnew_bc_locktrace (void *ptr, char *title, char *location)
static bc_buffertrace_tnew_bc_buffertrace (int size, void *ptr, char *location)
static void * append_table (bc_table_t *table, void *ptr)
static void clear_table (bc_table_t *table, int delete_objects)
static void clear_table_entry (bc_table_t *table, int number, int delete_object)
static void signal_entry (int signum)
static void signal_entry_recoverable (int signum)

Variables

static int signal_done = 0
static int table_id = 0
static bc_table_t execution_table = { 0, 0, 0 }
static bc_table_t lock_table = { 0, 0, 0 }
static bc_table_t memory_table = { 0, 0, 0 }
static bc_table_t temp_files = { 0, 0, 0 }
static pthread_mutex_t * lock = 0
static pthread_mutex_t * handler_lock = 0
static int trace_memory = 0
static char * signal_titles []


Define Documentation

#define TOTAL_LOCKS   100
 

Definition at line 320 of file bcsignals.C.

#define TOTAL_TRACES   100
 

Definition at line 293 of file bcsignals.C.


Function Documentation

static void* append_table bc_table_t table,
void *  ptr
[static]
 

Definition at line 58 of file bcsignals.C.

static void clear_table bc_table_t table,
int  delete_objects
[static]
 

Definition at line 82 of file bcsignals.C.

static void clear_table_entry bc_table_t table,
int  number,
int  delete_object
[static]
 

Definition at line 94 of file bcsignals.C.

static bc_buffertrace_t* new_bc_buffertrace int  size,
void *  ptr,
char *  location
[static]
 

Definition at line 36 of file bcsignals.C.

static bc_locktrace_t* new_bc_locktrace void *  ptr,
char *  title,
char *  location
[static]
 

Definition at line 12 of file bcsignals.C.

static void signal_entry int  signum  )  [static]
 

Definition at line 143 of file bcsignals.C.

static void signal_entry_recoverable int  signum  )  [static]
 

Definition at line 174 of file bcsignals.C.


Variable Documentation

bc_table_t execution_table = { 0, 0, 0 } [static]
 

Definition at line 106 of file bcsignals.C.

pthread_mutex_t* handler_lock = 0 [static]
 

Definition at line 118 of file bcsignals.C.

pthread_mutex_t* lock = 0 [static]
 

Definition at line 117 of file bcsignals.C.

bc_table_t lock_table = { 0, 0, 0 } [static]
 

Definition at line 109 of file bcsignals.C.

bc_table_t memory_table = { 0, 0, 0 } [static]
 

Definition at line 112 of file bcsignals.C.

int signal_done = 0 [static]
 

Definition at line 9 of file bcsignals.C.

char* signal_titles[] [static]
 

Initial value:

{
        "NULL",
        "SIGHUP",
        "SIGINT",
        "SIGQUIT",
        "SIGILL",
        "SIGTRAP",
        "SIGABRT",
        "SIGBUS",
        "SIGFPE",
        "SIGKILL",
        "SIGUSR1",
        "SIGSEGV",
        "SIGUSR2",
        "SIGPIPE",
        "SIGALRM",
        "SIGTERM"
}

Definition at line 123 of file bcsignals.C.

int table_id = 0 [static]
 

Definition at line 10 of file bcsignals.C.

bc_table_t temp_files = { 0, 0, 0 } [static]
 

Definition at line 114 of file bcsignals.C.

int trace_memory = 0 [static]
 

Definition at line 120 of file bcsignals.C.


Generated on Sun Jan 8 13:26:35 2006 for Guicast-svn by  doxygen 1.4.4