Definition in file smi_pshm.h.
Go to the source code of this file.
Functions | |
SMIQ * | smi_open_pshm (const char *name, SMIENTITY entity, size_t msgsize) |
bool | smi_close_pshm (SMIQ *sqp) |
bool | smi_send_getaddr_pshm (SMIQ *sqp, struct client_id *client, void **addr) |
bool | smi_send_release_pshm (SMIQ *sqp) |
bool | smi_receive_getaddr_pshm (SMIQ *sqp, void **addr) |
bool | smi_receive_release_pshm (SMIQ *sqp) |
|
Definition at line 202 of file smi_pshm.c. References SMIQ_PSHM::client::cl_fd, SMIQ_PSHM::client::cl_mem, SMIQ_PSHM::client::cl_pid, close(), MAX_CLIENTS, MEM_SIZE, mkshm_name_client(), mkshm_name_server(), munmap(), op_semi(), SEMI_DESTROY, SEMI_READ, SEMI_WRITE, SERVER_NAME_MAX, shm_unlink(), SMI_CLIENT, SMI_SERVER, SMIQ_PSHM::sq_clients, SMIQ_PSHM::sq_entity, SMIQ_PSHM::sq_msgsize, SMIQ_PSHM::sq_srv_fd, and SMIQ_PSHM::sq_srv_mem. Referenced by smi_open_pshm(). |
|
|
Definition at line 286 of file smi_pshm.c. References SMIQ_PSHM::client::cl_mem, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, op_semi(), SEMI_READ, SEMI_WAIT, shared_mem::sm_msg, SMI_SERVER, SMIQ_PSHM::sq_clients, SMIQ_PSHM::sq_entity, and SMIQ_PSHM::sq_srv_mem. |
|
Definition at line 304 of file smi_pshm.c. References SMIQ_PSHM::client::cl_mem, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, op_semi(), SEMI_POST, SEMI_WRITE, SMI_SERVER, SMIQ_PSHM::sq_clients, SMIQ_PSHM::sq_entity, and SMIQ_PSHM::sq_srv_mem. |
|
Definition at line 241 of file smi_pshm.c. References smi_msg::client_id::c_id1, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, ec_null, get_client(), getpid(), op_semi(), SEMI_WAIT, SEMI_WRITE, shared_mem::sm_msg, smi_msg::smi_client, SMI_CLIENT, SMI_SERVER, SMIQ_PSHM::sq_client, SMIQ_PSHM::sq_entity, and SMIQ_PSHM::sq_srv_mem. |
|
Definition at line 266 of file smi_pshm.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, ec_null, get_client(), op_semi(), SEMI_POST, SEMI_READ, SMI_SERVER, SMIQ_PSHM::sq_client, SMIQ_PSHM::sq_entity, and SMIQ_PSHM::sq_srv_mem. |