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

bcipc.C File Reference

#include "bcipc.h"
#include "bcresources.h"
#include "bcsignals.h"
#include "sema.h"
#include <signal.h>
#include <stdlib.h>
#include <sys/sem.h>
#include <sys/msg.h>
#include <sys/shm.h>

Go to the source code of this file.

Functions

int bc_enter_id (ArrayList< int > *list, int id)
int bc_remove_id (ArrayList< int > *list, int id)
void bc_ipc_termination (int signum)
int bc_init_ipc ()
int bc_enter_shmem_id (int id)
int bc_remove_shmem_id (int id)
int bc_enter_sema_id (int id)
int bc_remove_sema_id (int id)
int bc_enter_msg_id (int id)
int bc_remove_msg_id (int id)

Variables

static ArrayList< int > global_shmem_db
static ArrayList< int > global_sema_db
static ArrayList< int > global_msg_db
static Mutex global_ipc_lock
static int crashed = 0


Function Documentation

int bc_enter_id ArrayList< int > *  list,
int  id
 

Definition at line 131 of file bcipc.C.

int bc_enter_msg_id int  id  ) 
 

Definition at line 121 of file bcipc.C.

int bc_enter_sema_id int  id  ) 
 

Definition at line 111 of file bcipc.C.

int bc_enter_shmem_id int  id  ) 
 

Definition at line 101 of file bcipc.C.

int bc_init_ipc  ) 
 

Definition at line 82 of file bcipc.C.

void bc_ipc_termination int  signum  ) 
 

Definition at line 26 of file bcipc.C.

int bc_remove_id ArrayList< int > *  list,
int  id
 

Definition at line 144 of file bcipc.C.

int bc_remove_msg_id int  id  ) 
 

Definition at line 126 of file bcipc.C.

int bc_remove_sema_id int  id  ) 
 

Definition at line 116 of file bcipc.C.

int bc_remove_shmem_id int  id  ) 
 

Definition at line 106 of file bcipc.C.


Variable Documentation

int crashed = 0 [static]
 

Definition at line 19 of file bcipc.C.

Mutex global_ipc_lock [static]
 

Definition at line 18 of file bcipc.C.

ArrayList<int> global_msg_db [static]
 

Definition at line 17 of file bcipc.C.

ArrayList<int> global_sema_db [static]
 

Definition at line 16 of file bcipc.C.

ArrayList<int> global_shmem_db [static]
 

Definition at line 15 of file bcipc.C.


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